Package ptolemy.data

Examples of ptolemy.data.MatrixToken.crop()


        int rowSpanValue = ((IntToken) rowSpan.getToken()).intValue();

        // FIXME: We are not enforcing that the input is a matrix.
        // How to do this?
        MatrixToken inputValue = (MatrixToken) input.get(0);
        output.send(0, inputValue.crop(rowValue, columnValue, rowSpanValue,
                columnSpanValue));
    }
}
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.