public void setDenseComponent ( int component , double [ ] values ) { if ( component >= pointers . length ) { increaseSizeTo ( component + 1 ) ; } pointers [ component ] = values ; sparse [ component ] = false ; copyOnWrite [ component ] = true ; }
Sets a single component of the concat vector value as a dense vector . This will make a copy of you values array so you re free to continue mutating it .