Functions | |
ml_matrix & | ml_matrix::abs () |
Absolute value function - changes all values in the matrix to the absolute value of the element. | |
ml_matrix & | ml_matrix::ceil () |
Changes each element to the smallest integer greater than or equal to that element. | |
ml_matrix & | ml_matrix::floor () |
Changes each element to the largest integer less than or equal to that element. | |
ml_matrix & | ml_matrix::round () |
Rounds each element to the nearest integral value, rounding half-way cases away from zero. | |
ml_matrix & | ml_matrix::rint () |
Rounds each element to the nearest integral value according to the prevailing rounding mode. | |
ml_matrix & | ml_matrix::dotpow (double n) |
Raises each element of the matrix to the given power. | |
ml_matrix & | ml_matrix::sqrt () |
Sets each element equal to its square root. | |
ml_matrix & | ml_matrix::exp () |
Computes the base-e exponential of each element in the matrix. | |
ml_matrix & | ml_matrix::expm1 () |
Computes the base-e exponential of each element in the matrix, minus 1. | |
ml_matrix & | ml_matrix::log () |
Computes the natural logarithm of each element in the matrix. | |
ml_matrix & | ml_matrix::log10 () |
Computes the logarithm of each element in the matrix to base 10. | |
ml_matrix & | ml_matrix::log1p () |
Computes the natural logarithm of each element in the matrix plus 1. | |
ml_matrix & | ml_matrix::log2 () |
Computes the logarithm of each element in the matrix to base 2. | |
ml_matrix & | ml_matrix::logb () |
Computes the exponent of each element in the matrix. | |
ml_matrix | abs (const ml_matrix &x) |
Absolute value function - changes all values in the matrix to the absolute value of the element. | |
ml_matrix | ceil (const ml_matrix &x) |
Changes each element to the smallest integer greater than or equal to that element. | |
ml_matrix | floor (const ml_matrix &x) |
Changes each element to the largest integer less than or equal to that element. | |
ml_matrix | round (const ml_matrix &x) |
Rounds each element to the nearest integral value, rounding half-way cases away from zero. | |
ml_matrix | rint (const ml_matrix &x) |
Rounds each element to the nearest integral value according to the prevailing rounding mode. | |
ml_matrix | dotpow (const ml_matrix &, double n) |
Raises each element of the matrix to the given power. | |
ml_matrix | sqrt (const ml_matrix &x) |
Returns the square root of each element. | |
ml_matrix | exp (const ml_matrix &x) |
Calls the std::exp() function on each element in the matrix. | |
ml_matrix | expm1 (const ml_matrix &x) |
Calls the std::expm1() function on each element in the matrix. | |
ml_matrix | log (const ml_matrix &x) |
Calls the std::log() function on each element in the matrix. | |
ml_matrix | log10 (const ml_matrix &x) |
Calls the std::log10() function on each element in the matrix. | |
ml_matrix | log1p (const ml_matrix &x) |
Calls the std::log1p() function on each element in the matrix. | |
ml_matrix | log2 (const ml_matrix &x) |
Calls the std::log2() function on each element in the matrix. | |
ml_matrix | logb (const ml_matrix &x) |
Calls the std::logb() function on each element in the matrix. |
|
Absolute value function - changes all values in the matrix to the absolute value of the element.
|
|
Changes each element to the smallest integer greater than or equal to that element.
|
|
Changes each element to the largest integer less than or equal to that element.
|
|
Rounds each element to the nearest integral value, rounding half-way cases away from zero.
|
|
Rounds each element to the nearest integral value according to the prevailing rounding mode. The rounding mode can be specified using fesetround() from the C99 specification for IEEE floating point environments. This may not be available on all systems. The options for rounding direction include:
|
|
Raises each element to the given power.
|
|
Finds the square root of each element.
|
|
Calls the std::exp() function on each element in the matrix.
|
|
Calls the std::expm1() function on each element in the matrix.
|
|
Calls the std::log() function on each element in the matrix.
|
|
Calls the std::log10() function on each element in the matrix.
|
|
Calls the std::log1p() function on each element in the matrix.
|
|
Calls the std::log2() function on each element in the matrix.
|
|
Calls the std::logb() function on each element in the matrix.
|
|
Absolute value function - finds the absolute value of each element of a matrix.
|
|
Finds the smallest integer greater than or equal to each element in the original matrix.
|
|
Finds the largest integer less than or equal to each element in the original matrix.
|
|
Rounds each element to the nearest integral value, rounding half-way cases away from zero.
|
|
Rounds each element to the nearest integral value according to the prevailing rounding mode. /sa ml_matrix::rint().
|
|
Raises each element to the given power.
|
|
Finds the square root of each element.
|
|
Calls the std::exp() function on each element in the matrix.
|
|
Calls the std::expm1() function on each element in the matrix.
|
|
Calls the std::log() function on each element in the matrix.
|
|
Calls the std::log10() function on each element in the matrix.
|
|
Calls the std::log1p() function on each element in the matrix.
|
|
Calls the std::log2() function on each element in the matrix.
|
|
Calls the std::logb() function on each element in the matrix.
|