excsc method
Element-wise excosecant
Implementation
Matrix excsc() {
Matrix result = Matrix.zeros(rowCount, columnCount, isDouble: true);
for (int i = 0; i < rowCount; i++) {
for (int j = 0; j < columnCount; j++) {
result[i][j] = 1 / math.sin(this[i][j]) - 1;
}
}
return result;
}