Package net.fec.openrq.util.linearalgebra.matrix

Examples of net.fec.openrq.util.linearalgebra.matrix.ByteMatrix.clearRow()


            final int row = S + H + missingSrcESI;

            // replace line S + H + missingSrcESI with the line for encIndexes
            Set<Integer> indexes = LinearSystem.encIndexes(Kprime, new Tuple(Kprime, repairISI));

            A.clearRow(row); // must clear previous data first!
            for (Integer col : indexes) {
                A.set(row, col, (byte)1);
            }

            // fill in missing source symbols in D with the repair symbols
View Full Code Here


            final RepairSymbol repairSymbol = next.getValue();

            // generate the overhead lines
            Set<Integer> indexes = LinearSystem.encIndexes(Kprime, new Tuple(Kprime, repairISI));

            A.clearRow(row); // must clear previous data first!
            for (Integer col : indexes) {
                A.set(row, col, (byte)1);
            }

            // update D with the data for that symbol
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.