/** * {@inheritDoc} * * @throws MathUnsupportedOperationException in all circumstances. */ @Override public RealVector mapToSelf(UnivariateFunction function) throws MathUnsupportedOperationException { throw new MathUnsupportedOperationException(); }
/** * {@inheritDoc} * * @throws MathUnsupportedOperationException in all * circumstances. */ @Override public RealVector mapAddToSelf(double d) throws MathUnsupportedOperationException { throw new MathUnsupportedOperationException(); }
/** * {@inheritDoc} * * @throws MathUnsupportedOperationException in all * circumstances. */ @Override public RealVector mapDivideToSelf(double d) throws MathUnsupportedOperationException { throw new MathUnsupportedOperationException(); }
/** * {@inheritDoc} * * @throws MathUnsupportedOperationException in all * circumstances. */ @Override public void addToEntry(int index, double value) throws MathUnsupportedOperationException { throw new MathUnsupportedOperationException(); }
/** * {@inheritDoc} * * @throws MathUnsupportedOperationException in all * circumstances. */ @Override public RealVector combineToSelf(double a, double b, RealVector y) throws MathUnsupportedOperationException { throw new MathUnsupportedOperationException(); }
/** * {@inheritDoc}. This method <em>must</em> be overriden by concrete * subclasses of {@link RealVector} (current implementation throws an * exception). * * @throws MathUnsupportedOperationException if this method is not * overridden. */ @Override public int hashCode() throws MathUnsupportedOperationException { throw new MathUnsupportedOperationException(); }
/** * {@inheritDoc} * * @throws MathUnsupportedOperationException in all circumstances. */ public void remove() throws MathUnsupportedOperationException { throw new MathUnsupportedOperationException(); } }
/** * {@inheritDoc} * * @throws MathUnsupportedOperationException in all * circumstances. */ @Override public void unitize() throws MathUnsupportedOperationException { throw new MathUnsupportedOperationException(); }
/** * {@inheritDoc} * * @throws MathUnsupportedOperationException in all * circumstances. */ @Override public void setEntry(int index, double value) throws MathUnsupportedOperationException { throw new MathUnsupportedOperationException(); }
/** * {@inheritDoc} * * @throws MathUnsupportedOperationException in all * circumstances. */ @Override public void set(double value) throws MathUnsupportedOperationException { throw new MathUnsupportedOperationException(); }
/** * Not applicable. * * @throws MathUnsupportedOperationException */ public void remove() { throw new MathUnsupportedOperationException(); } }
/** * {@inheritDoc} * * @throws MathUnsupportedOperationException in all circumstances. */ public void remove() throws MathUnsupportedOperationException { throw new MathUnsupportedOperationException(); } };
/** * {@inheritDoc} * * @throws MathUnsupportedOperationException in all * circumstances. */ @Override public RealVector mapSubtractToSelf(double d) throws MathUnsupportedOperationException { throw new MathUnsupportedOperationException(); }
/** * {@inheritDoc} * * @throws MathUnsupportedOperationException in all * circumstances. */ @Override public RealVector mapMultiplyToSelf(double d) throws MathUnsupportedOperationException { throw new MathUnsupportedOperationException(); }
/** * {@inheritDoc} * * @throws MathUnsupportedOperationException in all * circumstances. */ @Override public void setSubVector(int index, RealVector w) throws MathUnsupportedOperationException { throw new MathUnsupportedOperationException(); }
/** * {@inheritDoc} * * This implementation throws an {@link MathUnsupportedOperationException} * if no residual vector {@code r} was provided at construction time. */ @Override public RealVector getResidual() { if (r != null) { return r; } throw new MathUnsupportedOperationException(); }
/** * This {@link Covariance} method is not supported by a {@link StorelessCovariance}, * since the number of bivariate observations does not have to be the same for different * pairs of covariates - i.e., N as defined in {@link Covariance#getN()} is undefined. * * @return nothing as this implementation always throws a * {@link MathUnsupportedOperationException} * @throws MathUnsupportedOperationException in all cases */ @Override public int getN() throws MathUnsupportedOperationException { throw new MathUnsupportedOperationException(); } }
/** * <p> * Returns the residual. This is an optional operation, as all iterative * linear solvers do not provide cheap estimate of the updated residual * vector, in which case * </p> * <ul> * <li>this method should throw a * {@link MathUnsupportedOperationException},</li> * <li>{@link #providesResidual()} returns {@code false}.</li> * </ul> * <p> * The default implementation throws a * {@link MathUnsupportedOperationException}. If this method is overriden, * then {@link #providesResidual()} should be overriden as well. * </p> * * @return the updated residual, r */ public RealVector getResidual() { throw new MathUnsupportedOperationException(); }
/** * <p> * Test for the equality of two real vectors. If all coordinates of two real * vectors are exactly the same, and none are {@code NaN}, the two real * vectors are considered to be equal. {@code NaN} coordinates are * considered to affect globally the vector and be equals to each other - * i.e, if either (or all) coordinates of the real vector are equal to * {@code NaN}, the real vector is equal to a vector with all {@code NaN} * coordinates. * </p> * <p> * This method <em>must</em> be overriden by concrete subclasses of * {@link RealVector} (the current implementation throws an exception). * </p> * * @param other Object to test for equality. * @return {@code true} if two vector objects are equal, {@code false} if * {@code other} is null, not an instance of {@code RealVector}, or * not equal to this {@code RealVector} instance. * @throws MathUnsupportedOperationException if this method is not * overridden. */ @Override public boolean equals(Object other) throws MathUnsupportedOperationException { throw new MathUnsupportedOperationException(); }
/** * Copies source to dest. * @param source Percentile to copy * @param dest Percentile to copy to * @exception MathUnsupportedOperationException always thrown since 3.4 * @deprecated as of 3.4 this method does not work anymore, as it fails to * copy internal states between instances configured with different * {@link EstimationType estimation type}, {@link NaNStrategy NaN handling strategies} * and {@link KthSelector kthSelector}, it therefore always * throw {@link MathUnsupportedOperationException} */ @Deprecated public static void copy(final Percentile source, final Percentile dest) throws MathUnsupportedOperationException { throw new MathUnsupportedOperationException(); }