Skip to content

Scientific functions

jcanny edited this page Jan 29, 2013 · 2 revisions

The following functions come in two forms. They either take a single matrix (FMat or DMat) argument and return a (respectively) FMat or DMat result, or they accept two (equal-sized) FMat or DMat arguments, apply the function to the first and store the results in the second matrix.

  • abs
  • exp
  • sqrt
  • ln
  • log10
  • log1p
  • cos
  • sin
  • tan
  • cosh
  • sinh
  • tanh
  • acos
  • asin
  • atan
  • acosh
  • asinh
  • erf
  • erfinv
  • erfc
  • erfcinv
  • normcdf
  • norminv
  • gamma
  • gammaln
  • ceil
  • floor
  • round
  • trunc
The following functions take two real FMat or DMat arguments and return a single FMat or DMat result. Or, if provided with three equal-sized FMat or DMat arguments, they apply the function to the first two matrices and store the results in the third.
  • atan2
  • pow
Clone this wiki locally