Examples of MatrixFunction


Examples of net.fec.openrq.util.linearalgebra.matrix.functor.MatrixFunction

     *            a constant value
     * @return a closure object that does {@code _}
     */
    public static MatrixFunction asConstFunction(final byte arg) {

        return new MatrixFunction() {

            @Override
            public byte evaluate(int i, int j, byte value) {

                return arg;
View Full Code Here

Examples of net.fec.openrq.util.linearalgebra.matrix.functor.MatrixFunction

     *            a value to be added to function's argument
     * @return a closure object that does {@code _ + _}
     */
    public static MatrixFunction asPlusFunction(final byte arg) {

        return new MatrixFunction() {

            @Override
            public byte evaluate(int i, int j, byte value) {

                return aPlusB(value, arg);
View Full Code Here

Examples of net.fec.openrq.util.linearalgebra.matrix.functor.MatrixFunction

     *            a value to be subtracted from function's argument
     * @return a closure that does {@code _ - _}
     */
    public static MatrixFunction asMinusFunction(final byte arg) {

        return new MatrixFunction() {

            @Override
            public byte evaluate(int i, int j, byte value) {

                return aMinusB(value, arg);
View Full Code Here

Examples of net.fec.openrq.util.linearalgebra.matrix.functor.MatrixFunction

     *            a value to be multiplied by function's argument
     * @return a closure that does {@code _ * _}
     */
    public static MatrixFunction asMulFunction(final byte arg) {

        return new MatrixFunction() {

            @Override
            public byte evaluate(int i, int j, byte value) {

                return aTimesB(value, arg);
View Full Code Here

Examples of net.fec.openrq.util.linearalgebra.matrix.functor.MatrixFunction

     *            a divisor value
     * @return a closure that does {@code _ / _}
     */
    public static MatrixFunction asDivFunction(final byte arg) {

        return new MatrixFunction() {

            @Override
            public byte evaluate(int i, int j, byte value) {

                return aDividedByB(value, arg);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.