/** * Gets a copy of the i<sup>th</sup> eigenvector of the original matrix. * * @param i Index of the eigenvector (counting from 0). * @return a copy of the i<sup>th</sup> eigenvector of the original matrix. * @see #getD() */ public RealVector getEigenvector(final int i) { return eigenvectors[i].copy(); }
/** {@inheritDoc} */ @Override public ArrayRealVector map(UnivariateFunction function) { return copy().mapToSelf(function); }
/** {@inheritDoc} */ @Override public ArrayRealVector combine(double a, double b, RealVector y) throws DimensionMismatchException { return copy().combineToSelf(a, b, y); }
/** * Gets a copy of the i<sup>th</sup> eigenvector of the original matrix. * * @param i Index of the eigenvector (counting from 0). * @return a copy of the i<sup>th</sup> eigenvector of the original matrix. * @see #getD() */ public RealVector getEigenvector(final int i) { return eigenvectors[i].copy(); }
/** * Gets a copy of the i<sup>th</sup> eigenvector of the original matrix. * * @param i Index of the eigenvector (counting from 0). * @return a copy of the i<sup>th</sup> eigenvector of the original matrix. * @see #getD() */ public RealVector getEigenvector(final int i) { return eigenvectors[i].copy(); }
/** * Gets a copy of the i<sup>th</sup> eigenvector of the original matrix. * * @param i Index of the eigenvector (counting from 0). * @return a copy of the i<sup>th</sup> eigenvector of the original matrix. * @see #getD() */ public RealVector getEigenvector(final int i) { return eigenvectors[i].copy(); }
/** {@inheritDoc} */ @Override public ArrayRealVector combine(double a, double b, RealVector y) throws DimensionMismatchException { return copy().combineToSelf(a, b, y); }
/** {@inheritDoc} */ @Override public ArrayRealVector combine(double a, double b, RealVector y) throws DimensionMismatchException { return copy().combineToSelf(a, b, y); }
/** {@inheritDoc} */ @Override public ArrayRealVector map(UnivariateFunction function) { return copy().mapToSelf(function); }
/** {@inheritDoc} */ @Override public ArrayRealVector map(UnivariateFunction function) { return copy().mapToSelf(function); }
this._mu = x_t.copy(); this._sigma = new BlockRealMatrix(dims, dims); assert (_sigma.isSquare());