概要 | パッケージ | クラス | 階層ツリー | 非推奨 API | 索引 | ヘルプ
前のクラス 次のクラス | フレームあり フレームなし
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド

## jp.crestmuse.cmx.math
クラス Operations

    java.lang.Object
      jp.crestmuse.cmx.math.Operations

    public class Operations

extends java.lang.Object

入れ子のクラスの概要
`static class` | `Operations.MaxResult`
`static class` | `Operations.MinResult`

コンストラクタの概要
`Operations()`

メソッドの概要
`static double` | `absmax(DoubleArray x)`
`static ComplexArray` | `add(ComplexArray x, ComplexArray y)`
`static DoubleArray` | `add(DoubleArray x, double y)`
`static DoubleArray` | `add(DoubleArray x, DoubleArray y)`
`static DoubleMatrix` | `add(DoubleMatrix x, DoubleArray y)`
`static DoubleMatrix` | `add(DoubleMatrix x, DoubleMatrix y)`
`static void` | `addX(DoubleArray x, double y)`
`static void` | `addX(DoubleArray x, DoubleArray y)`
`static void` | `addX(DoubleArray x, DoubleArray y, int from)`
`static void` | `addX(DoubleArray x, int i, double y)`
`static BooleanArray` | `and(BooleanArray x, BooleanArray y)`
`static int` | `argmax(DoubleArray x)`
`static int` | `argmin(DoubleArray x)`
`static DoubleArray` | `concat(DoubleArray[] arrays)`
`static boolean` | `containsNaNInf(DoubleArray x)`
`static boolean` | `containsNaNInf(DoubleMatrix x)`
`static DoubleArray` | `conv(DoubleArray x, DoubleArray y)`
`static DoubleMatrix` | `cov(DoubleMatrix x)`
`static double` | `det(DoubleMatrix x)`
`static DoubleArray` | `diag(DoubleMatrix x)`
`static DoubleArray` | `diff(DoubleArray x)`
`static ComplexArray` | `div(ComplexArray x, ComplexArray y)`
`static DoubleArray` | `div(DoubleArray x, double y)`
`static DoubleArray` | `div(DoubleArray x, DoubleArray y)`
`static DoubleMatrix` | `div(DoubleMatrix x, double y)`
`static DoubleMatrix` | `div(DoubleMatrix x, DoubleArray y)`
`static DoubleArray` | `divide(DoubleArray x, double y)`
`static DoubleArray` | `divide(DoubleArray x, DoubleArray y)`
`static DoubleMatrix` | `divide(DoubleMatrix x, double y)`
`static DoubleMatrix` | `divide(DoubleMatrix x, DoubleArray y)`
`static void` | `divX(DoubleArray x, double y)`
`static void` | `divX(DoubleArray x, DoubleArray y)`
`static DoubleMatrix[]` | `eig(DoubleMatrix x)`
`static ComplexNumber` | `getAt(ComplexArray x, int index)`
`static double` | `getAt(DoubleArray x, int i)`
`static double` | `getAt(DoubleMatrix x, int[] indices)`
`static DoubleArray` | `getColumn(DoubleMatrix x, int index)`
`static DoubleArray` | `getImag(ComplexArray x)`
`static DoubleArray` | `getReal(ComplexArray x)`
`static DoubleArray` | `getRow(DoubleMatrix x, int index)`
`static BooleanArray` | `greaterThan(DoubleArray x, double y)`
`static double` | `Hz2cent(double x)`
`static DoubleArray` | `Hz2cent(DoubleArray x)`
`static void` | `Hz2centX(DoubleArray x)`
`static int` | `Hz2nn(double x)`
`static double` | `innerproduct(DoubleArray x, DoubleArray y)`
`static DoubleMatrix` | `inv(DoubleMatrix x)`
`static double` | `iqr(DoubleArray x)`
`static boolean` | `isInf(DoubleMatrix x, int i, int j)`
`static boolean` | `isNaN(DoubleMatrix x, int i, int j)`
`static boolean` | `isNaNInf(DoubleMatrix x, int i, int j)`
`static boolean` | `isSquare(DoubleMatrix x)`
`static BooleanArray` | `lessThan(DoubleArray x, double y)`
`static void` | `logX(DoubleArray x, int a)`
`static DoubleMatrix[]` | `lu(DoubleMatrix x)`
`static DoubleArray` | `makeArithmeticSeries(double a, double d, int n)`
`static DoubleArray` | `makeArithmeticSeries(double a, int n)`
`static DoubleArray` | `makeArithmeticSeries(int n)`
`static DoubleArray` | `mask(DoubleArray x, BooleanArray mask, double y)`
`static double` | `max(DoubleArray x)`
`static double` | `max(DoubleArray x, Operations.MaxResult result)`
`static double` | `max(DoubleMatrix x)`
`static DoubleArray` | `mean(DoubleArray[] arrays)`
`static DoubleArray` | `mean(DoubleArray[] arrays, int from, int thru)`
`static DoubleArray` | `meancols(DoubleMatrix x)`
`static DoubleArray` | `meanrows(DoubleMatrix x)`
`static double` | `median(DoubleArray x)`
`static double` | `min(DoubleArray x)`
`static double` | `min(DoubleArray x, Operations.MinResult result)`
`static double` | `min(DoubleMatrix x)`
`static ComplexArray` | `minus(ComplexArray x, ComplexArray y)`
`static DoubleArray` | `minus(DoubleArray x, double y)`
`static DoubleArray` | `minus(DoubleArray x, DoubleArray y)`
`static DoubleMatrix` | `minus(DoubleMatrix x, DoubleArray y)`
`static DoubleMatrix` | `minus(DoubleMatrix x, DoubleMatrix y)`
`static ComplexArray` | `mul(ComplexArray x, ComplexArray y)`
`static DoubleArray` | `mul(DoubleArray x, double y)`
`static DoubleArray` | `mul(DoubleArray x, DoubleArray y)`
`static DoubleMatrix` | `mul(DoubleMatrix x, double y)`
`static DoubleMatrix` | `mul(DoubleMatrix x, DoubleMatrix y)`
`static ComplexArray` | `multiply(ComplexArray x, ComplexArray y)`
`static DoubleArray` | `multiply(DoubleArray x, double y)`
`static DoubleArray` | `multiply(DoubleArray x, DoubleArray y)`
`static DoubleMatrix` | `multiply(DoubleMatrix x, double y)`
`static DoubleMatrix` | `multiply(DoubleMatrix x, DoubleMatrix y)`
`static void` | `mulX(DoubleArray x, double y)`
`static void` | `mulX(DoubleArray x, DoubleArray y)`
`static void` | `mulX(DoubleArray x, int i, double y)`
`static int` | `nGreaterThan(DoubleArray x, double y)`
`static double` | `nn2cent(double x)`
`static DoubleArray` | `nn2cent(DoubleArray x)`
`static void` | `nn2centX(DoubleArray x)`
`static double` | `nn2Hz(double nn)`
`static double` | `norm(DoubleArray x)`
`static DoubleMatrix` | `normalize(DoubleMatrix x)`
`static int` | `nZeroCross(DoubleArray x)`
`static BooleanArray` | `or(BooleanArray x, BooleanArray y)`
`static ComplexArray` | `plus(ComplexArray x, ComplexArray y)`
`static DoubleArray` | `plus(DoubleArray x, double y)`
`static DoubleArray` | `plus(DoubleArray x, DoubleArray y)`
`static DoubleMatrix` | `plus(DoubleMatrix x, DoubleArray y)`
`static DoubleMatrix` | `plus(DoubleMatrix x, DoubleMatrix y)`
`static void` | `putAt(ComplexArray x, int index, ComplexNumber value)`
`static void` | `putAt(ComplexArray x, int index, double[] value)`
`static void` | `putAt(DoubleArray x, int i, double value)`
`static void` | `putAt(DoubleMatrix x, int[] indices, double value)`
`static DoubleMatrix[]` | `qr(DoubleMatrix x)`
`static double` | `ratioTrue(BooleanArray x)`
`static DoubleArray` | `removeMask(DoubleArray x, BooleanArray mask)`
`static DoubleArray` | `sdiff(DoubleArray x, int srange)`
`static DoubleArray` | `sgsmooth(DoubleArray x, int srange)`
`static DoubleArray` | `sort(DoubleArray x)`
`static DoubleArray` | `stdcols(DoubleMatrix x)`
`static DoubleArray` | `stdrows(DoubleMatrix x)`
`static ComplexArray` | `sub(ComplexArray x, ComplexArray y)`
`static DoubleArray` | `sub(DoubleArray x, double y)`
`static DoubleArray` | `sub(DoubleArray x, DoubleArray y)`
`static DoubleMatrix` | `sub(DoubleMatrix x, DoubleArray y)`
`static DoubleMatrix` | `sub(DoubleMatrix x, DoubleMatrix y)`
`static ComplexArray` | `subarray(ComplexArray x, int from, int thru)`
`static DoubleArray` | `subarray(DoubleArray x, int from, int thru)`
`static void` | `subX(DoubleArray x, double y)`
`static void` | `subX(DoubleArray x, DoubleArray y)`
`static double` | `sum(DoubleArray x)`
`static DoubleArray` | `sum(DoubleArray[] arrays)`
`static DoubleArray` | `sum(DoubleArray[] arrays, int from, int thru)`
`static double` | `sum(DoubleArray x, int from, int thru)`
`static DoubleArray` | `sumcols(DoubleMatrix x)`
`static double` | `sumeven(DoubleArray x)`
`static double` | `sumodd(DoubleArray x)`
`static DoubleArray` | `sumrows(DoubleMatrix x)`
`static DoubleMatrix[]` | `svd(DoubleMatrix x)`
`static DoubleMatrix` | `toMatrixH(DoubleArray array)`
`static DoubleMatrix` | `toMatrixV(DoubleArray array)`
`static DoubleMatrix` | `transposeX(DoubleMatrix x)`

クラス java.lang.Object から継承されたメソッド
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

コンストラクタの詳細

### Operations

    public Operations()

メソッドの詳細

### subarray

    public static DoubleArray subarray(DoubleArray x,
                                       int from,
                                       int thru)

### subarray

    public static ComplexArray subarray(ComplexArray x,
                                        int from,
                                        int thru)

### putAt

    public static void putAt(DoubleArray x,
                             int i,
                             double value)

### getAt

    public static double getAt(DoubleArray x,
                               int i)

### add

    public static DoubleArray add(DoubleArray x,
                                  DoubleArray y)

### plus

    public static DoubleArray plus(DoubleArray x,
                                   DoubleArray y)

### addX

    public static void addX(DoubleArray x,
                            DoubleArray y)

### add

    public static DoubleArray add(DoubleArray x,
                                  double y)

### plus

    public static DoubleArray plus(DoubleArray x,
                                   double y)

### addX

    public static void addX(DoubleArray x,
                            double y)

### addX

    public static void addX(DoubleArray x,
                            DoubleArray y,
                            int from)

### addX

    public static void addX(DoubleArray x,
                            int i,
                            double y)

### sub

    public static DoubleArray sub(DoubleArray x,
                                  DoubleArray y)

### minus

    public static DoubleArray minus(DoubleArray x,
                                    DoubleArray y)

### sub

    public static DoubleArray sub(DoubleArray x,
                                  double y)

### minus

    public static DoubleArray minus(DoubleArray x,
                                    double y)

### subX

    public static void subX(DoubleArray x,
                            DoubleArray y)

### subX

    public static void subX(DoubleArray x,
                            double y)

### mul

    public static DoubleArray mul(DoubleArray x,
                                  double y)

### multiply

    public static DoubleArray multiply(DoubleArray x,
                                       double y)

### mul

    public static DoubleArray mul(DoubleArray x,
                                  DoubleArray y)

### multiply

    public static DoubleArray multiply(DoubleArray x,
                                       DoubleArray y)

### mulX

    public static void mulX(DoubleArray x,
                            DoubleArray y)

### mulX

    public static void mulX(DoubleArray x,
                            double y)

### mulX

    public static void mulX(DoubleArray x,
                            int i,
                            double y)

### div

    public static DoubleArray div(DoubleArray x,
                                  double y)

### divide

    public static DoubleArray divide(DoubleArray x,
                                     double y)

### div

    public static DoubleArray div(DoubleArray x,
                                  DoubleArray y)

### divide

    public static DoubleArray divide(DoubleArray x,
                                     DoubleArray y)

### divX

    public static void divX(DoubleArray x,
                            DoubleArray y)

### divX

    public static void divX(DoubleArray x,
                            double y)

### sum

    public static double sum(DoubleArray x,
                             int from,
                             int thru)

### sum

    public static double sum(DoubleArray x)

### sumodd

    public static double sumodd(DoubleArray x)

### sumeven

    public static double sumeven(DoubleArray x)

### min

    public static double min(DoubleArray x)

### argmin

    public static int argmin(DoubleArray x)

### min

    public static double min(DoubleArray x,
                             Operations.MinResult result)

### max

    public static double max(DoubleArray x)

### argmax

    public static int argmax(DoubleArray x)

### max

    public static double max(DoubleArray x,
                             Operations.MaxResult result)

### absmax

    public static double absmax(DoubleArray x)

### median

    public static double median(DoubleArray x)

### containsNaNInf

    public static boolean containsNaNInf(DoubleArray x)

### makeArithmeticSeries

    public static DoubleArray makeArithmeticSeries(double a,
                                                   double d,
                                                   int n)

### makeArithmeticSeries

    public static DoubleArray makeArithmeticSeries(double a,
                                                   int n)

### makeArithmeticSeries

    public static DoubleArray makeArithmeticSeries(int n)

### nn2cent

    public static DoubleArray nn2cent(DoubleArray x)

### nn2cent

    public static double nn2cent(double x)

### nn2centX

    public static void nn2centX(DoubleArray x)

### Hz2centX

    public static void Hz2centX(DoubleArray x)

### Hz2cent

    public static double Hz2cent(double x)

### Hz2cent

    public static DoubleArray Hz2cent(DoubleArray x)

### lessThan

    public static BooleanArray lessThan(DoubleArray x,
                                        double y)

### greaterThan

    public static BooleanArray greaterThan(DoubleArray x,
                                           double y)

### nGreaterThan

    public static int nGreaterThan(DoubleArray x,
                                   double y)

### or

    public static BooleanArray or(BooleanArray x,
                                  BooleanArray y)

### and

    public static BooleanArray and(BooleanArray x,
                                   BooleanArray y)

### removeMask

    public static DoubleArray removeMask(DoubleArray x,
                                         BooleanArray mask)

### mask

    public static DoubleArray mask(DoubleArray x,
                                   BooleanArray mask,
                                   double y)

### Hz2nn

    public static final int Hz2nn(double x)

### nn2Hz

    public static final double nn2Hz(double nn)

### logX

    public static void logX(DoubleArray x,
                            int a)

### ratioTrue

    public static double ratioTrue(BooleanArray x)

### diff

    public static DoubleArray diff(DoubleArray x)

### sdiff

    public static DoubleArray sdiff(DoubleArray x,
                                    int srange)

### nZeroCross

    public static int nZeroCross(DoubleArray x)

### sort

    public static DoubleArray sort(DoubleArray x)

### iqr

    public static double iqr(DoubleArray x)

### sgsmooth

    public static DoubleArray sgsmooth(DoubleArray x,
                                       int srange)

### concat

    public static DoubleArray concat(DoubleArray[] arrays)

### sum

    public static DoubleArray sum(DoubleArray[] arrays)

### sum

    public static DoubleArray sum(DoubleArray[] arrays,
                                  int from,
                                  int thru)

### mean

    public static DoubleArray mean(DoubleArray[] arrays)

### mean

    public static DoubleArray mean(DoubleArray[] arrays,
                                   int from,
                                   int thru)

### getAt

    public static ComplexNumber getAt(ComplexArray x,
                                      int index)

### putAt

    public static void putAt(ComplexArray x,
                             int index,
                             ComplexNumber value)

### putAt

    public static void putAt(ComplexArray x,
                             int index,
                             double[] value)

### getReal

    public static DoubleArray getReal(ComplexArray x)

### getImag

    public static DoubleArray getImag(ComplexArray x)

### add

    public static ComplexArray add(ComplexArray x,
                                   ComplexArray y)

### plus

    public static ComplexArray plus(ComplexArray x,
                                    ComplexArray y)

### sub

    public static ComplexArray sub(ComplexArray x,
                                   ComplexArray y)

### minus

    public static ComplexArray minus(ComplexArray x,
                                     ComplexArray y)

### mul

    public static ComplexArray mul(ComplexArray x,
                                   ComplexArray y)

### multiply

    public static ComplexArray multiply(ComplexArray x,
                                        ComplexArray y)

### div

    public static ComplexArray div(ComplexArray x,
                                   ComplexArray y)

### getAt

    public static double getAt(DoubleMatrix x,
                               int[] indices)

### putAt

    public static void putAt(DoubleMatrix x,
                             int[] indices,
                             double value)

### add

    public static DoubleMatrix add(DoubleMatrix x,
                                   DoubleMatrix y)

### plus

    public static DoubleMatrix plus(DoubleMatrix x,
                                    DoubleMatrix y)

### add

    public static DoubleMatrix add(DoubleMatrix x,
                                   DoubleArray y)

### plus

    public static DoubleMatrix plus(DoubleMatrix x,
                                    DoubleArray y)

### sub

    public static DoubleMatrix sub(DoubleMatrix x,
                                   DoubleMatrix y)

### minus

    public static DoubleMatrix minus(DoubleMatrix x,
                                     DoubleMatrix y)

### sub

    public static DoubleMatrix sub(DoubleMatrix x,
                                   DoubleArray y)

### minus

    public static DoubleMatrix minus(DoubleMatrix x,
                                     DoubleArray y)

### mul

    public static DoubleMatrix mul(DoubleMatrix x,
                                   double y)

### multiply

    public static DoubleMatrix multiply(DoubleMatrix x,
                                        double y)

### mul

    public static DoubleMatrix mul(DoubleMatrix x,
                                   DoubleMatrix y)

### multiply

    public static DoubleMatrix multiply(DoubleMatrix x,
                                        DoubleMatrix y)

### div

    public static DoubleMatrix div(DoubleMatrix x,
                                   DoubleArray y)

### divide

    public static DoubleMatrix divide(DoubleMatrix x,
                                      DoubleArray y)

### div

    public static DoubleMatrix div(DoubleMatrix x,
                                   double y)

### divide

    public static DoubleMatrix divide(DoubleMatrix x,
                                      double y)

### transposeX

    public static DoubleMatrix transposeX(DoubleMatrix x)

### getRow

    public static DoubleArray getRow(DoubleMatrix x,
                                     int index)

### getColumn

    public static DoubleArray getColumn(DoubleMatrix x,
                                        int index)

### containsNaNInf

    public static boolean containsNaNInf(DoubleMatrix x)

### isNaNInf

    public static boolean isNaNInf(DoubleMatrix x,
                                   int i,
                                   int j)

### isNaN

    public static boolean isNaN(DoubleMatrix x,
                                int i,
                                int j)

### isInf

    public static boolean isInf(DoubleMatrix x,
                                int i,
                                int j)

### sumrows

    public static DoubleArray sumrows(DoubleMatrix x)

### sumcols

    public static DoubleArray sumcols(DoubleMatrix x)

### meanrows

    public static DoubleArray meanrows(DoubleMatrix x)

### meancols

    public static DoubleArray meancols(DoubleMatrix x)

### stdrows

    public static DoubleArray stdrows(DoubleMatrix x)

### stdcols

    public static DoubleArray stdcols(DoubleMatrix x)

### max

    public static double max(DoubleMatrix x)

### min

    public static double min(DoubleMatrix x)

### cov

    public static DoubleMatrix cov(DoubleMatrix x)

### svd

    public static DoubleMatrix[] svd(DoubleMatrix x)

### eig

    public static DoubleMatrix[] eig(DoubleMatrix x)

### lu

    public static DoubleMatrix[] lu(DoubleMatrix x)

### det

    public static double det(DoubleMatrix x)

### inv

    public static DoubleMatrix inv(DoubleMatrix x)

### qr

    public static DoubleMatrix[] qr(DoubleMatrix x)

### isSquare

    public static boolean isSquare(DoubleMatrix x)

### diag

    public static DoubleArray diag(DoubleMatrix x)

### normalize

    public static DoubleMatrix normalize(DoubleMatrix x)

### innerproduct

    public static double innerproduct(DoubleArray x,
                                      DoubleArray y)

### norm

    public static double norm(DoubleArray x)

### toMatrixV

    public static DoubleMatrix toMatrixV(DoubleArray array)

### toMatrixH

    public static DoubleMatrix toMatrixH(DoubleArray array)

### conv

    public static DoubleArray conv(DoubleArray x,
                                   DoubleArray y)

概要 | パッケージ | クラス | 階層ツリー | 非推奨 API | 索引 | ヘルプ
前のクラス 次のクラス | フレームあり フレームなし
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド