[vector] Why is it `FloatSpecies.zero()` and `FloatSpecies.broadcast()` but `FloatArray.fromArray()`?
    Lev Serebryakov 
    lev at serebryakov.spb.ru
       
    Fri Mar 15 19:50:22 UTC 2019
    
    
  
 I, as early adopter of Vector API, was very surprised by inconsistency
of fabric methods for vectors.
 Some of these methods are methods of "Spices" (`zero()`, `scalar()`,
`random()` and `broadcast()`) and some of these methods (all
`*fromArray()`) are class-methods of "Vector" and takes "Spices" as
argument.
 Is here any rationale behind this inconsistency?
-- 
// Black Lion AKA Lev Serebryakov
    
    
More information about the panama-dev
mailing list