|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--HES.CMatrix
フィールドの概要 | |
static double |
TINY
これより小さい値は0とみなします。 |
コンストラクタの概要 | |
CMatrix()
新しい CMatrix オブジェクトを作成します。 |
メソッドの概要 | |
void |
copy_matrix(double[][] a,
double[][] b,
int n,
int m)
行数と列数を指定して行列をコピーします。 |
void |
copy_matrix2(double[][] a,
double[][] b,
int n,
int m,
int sno,
int smo,
int tno,
int tmo)
コピーを開始する行と列のオフセットを指定して行数と列数を指定して行列をコピーします。 |
void |
covariance_matrix(double[][] R,
int n)
分散行列を作成します。 |
double[] |
create_a_new_vector1(int n)
要素数を指定してベクトルを作成します。 |
double[] |
create_a_new_vector2(int n)
要素数を指定して初期化されたベクトルを作成します。 |
void |
derivative_matrix(double[][] D,
int dy,
int dx)
微分行列を作成します。 |
void |
extract_row_vector(double[][] a,
double[] v,
int row_to_extract,
int ncol)
行列から指定した行を抜き出します。 |
void |
free_matrix(double[][] a)
行列の要素をすべて削除します。 |
void |
free_vector(double[] v)
配列の要素を削除します。 |
void |
identity_matrix(double[][] I,
int n)
単位行列を作成します。 |
int[] |
ivector(int n)
0で初期化したベクトルを返します。 |
void |
lu_decomposition1(double[][] a,
int n,
int[] indx,
java.lang.Double d)
|
void |
lubksb(double[][] a,
int n,
int[] indx,
double[] b)
|
void |
matrix_add(double[][] a,
double[][] b,
double[][] c,
int n,
int m)
行列の加算を行います。 |
void |
matrix_angles(double[][] a,
double[][] b,
double[][] c,
int n,
int m)
|
void |
matrix_transpose1(double[][] a,
double[][] at,
int n,
int m)
転置行列を作成します。 |
double[][] |
matrix_transpose2(double[][] a,
int n,
int m)
転置行列を返します。 |
void |
multiply_matrices2(double[][] a,
double[][] b,
double[][] c,
int n,
int m)
行列掛ける行列の掛け算を行います。 |
void |
multiply_matrices3(double[][] a,
double[][] b,
int N)
行列掛ける行列の演算を行います。 |
double[][] |
newmat(int nrow,
int ncol)
行と列を指定して新しい行列を作成します。 |
double[] |
newvec(int n)
要素数を指定して新しいベクトルを作成します。 |
void |
normalize_matrix(double[][] a,
int n,
int m)
|
void |
nrerror(java.lang.String s1,
java.lang.String s2,
int i)
|
double[][] |
obtain_inverse_matrix2(double[][] a,
int n)
|
double[][] |
obtain_inverse_matrix3(double[][] a,
int n)
|
void |
regularization_matrix(double[][] R,
int n)
|
void |
scale_matrix(double[][] a,
double s,
int n,
int m)
|
double[][] |
svd(double[][] A,
double[][] V,
double[] z,
int m,
int n)
特異値分解を実施します。 |
void |
vector_add(double[] a,
double[] b,
double[] c,
double fa,
double fb,
int n)
ベクトルの一次結合を計算します。 |
void |
vector_multiply(double[][] a,
double[] b,
double[] c,
int n,
int m)
行列×縦ベクトルを計算します。 |
void |
vector_subtract(double[] a,
double[] b,
double[] c,
int n)
ベクトルの要素同士の引き算を行います。 |
void |
vector_to_matrix(double[] v,
double[][] a,
int m,
int n)
ベクトルの要素をもつ行列を作成します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
public static final double TINY
コンストラクタの詳細 |
public CMatrix()
メソッドの詳細 |
public double[][] newmat(int nrow, int ncol)
public void free_vector(double[] v)
public void free_matrix(double[][] a)
public double[] create_a_new_vector1(int n)
public double[] create_a_new_vector2(int n)
public double[] newvec(int n)
public int[] ivector(int n)
public void display_matrix1(double[][] a, int nrow, int ncol)
public void display_matrix2(double[][] a, int nrow, int ncol)
public void display_matrix3(double[][] a, int nrow, int ncol)
public void display_matrix4(double[][] a, int ncol, int perline, java.lang.String format)
public void display_int_matrix(double[][] a, int nrow, int ncol)
public void display_vector(double[] v, int n, int perline, java.lang.String format)
public void display_vector2(double[] v, int n)
public void extract_row_vector(double[][] a, double[] v, int row_to_extract, int ncol)
public void vector_to_matrix(double[] v, double[][] a, int m, int n)
public void scale_matrix(double[][] a, double s, int n, int m)
public void normalize_matrix(double[][] a, int n, int m)
public void copy_matrix(double[][] a, double[][] b, int n, int m)
a
- コピー元の行列を示す配列
b
- コピー先の行列を示す配列
n
- コピーする行数
m
- コピーする列数
public void copy_matrix2(double[][] a, double[][] b, int n, int m, int sno, int smo, int tno, int tmo)
a
- コピー元の行列を示す配列
b
- コピー先の行列を示す配列
n
- コピーする行数
m
- コピーする列数
sno
- コピー元のコピー開始行
smo
- コピー元のコピー開始列
tno
- コピー先のコピー開始行
tmo
- コピー先のコピー開始列
public void matrix_transpose1(double[][] a, double[][] at, int n, int m)
public double[][] matrix_transpose2(double[][] a, int n, int m)
public void matrix_add(double[][] a, double[][] b, double[][] c, int n, int m)
public void multiply_matrices2(double[][] a, double[][] b, double[][] c, int n, int m)
public void multiply_matrices3(double[][] a, double[][] b, int N)
public void matrix_angles(double[][] a, double[][] b, double[][] c, int n, int m)
public void vector_subtract(double[] a, double[] b, double[] c, int n)
public void vector_add(double[] a, double[] b, double[] c, double fa, double fb, int n)
public void vector_multiply(double[][] a, double[] b, double[] c, int n, int m)
public void derivative_matrix(double[][] D, int dy, int dx)
public void identity_matrix(double[][] I, int n)
public void regularization_matrix(double[][] R, int n)
public void covariance_matrix(double[][] R, int n)
public void nrerror(java.lang.String s1, java.lang.String s2, int i)
public void lu_decomposition1(double[][] a, int n, int[] indx, java.lang.Double d)
public void lubksb(double[][] a, int n, int[] indx, double[] b)
public double[][] obtain_inverse_matrix2(double[][] a, int n)
public double[][] obtain_inverse_matrix3(double[][] a, int n)
public double[][] svd(double[][] A, double[][] V, double[] z, int m, int n)
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |