Skip to content
  • Thierry Geraud's avatar
    Make metal vec and mat work with traits and scalars. · 070a6add
    Thierry Geraud authored
    	* tests/metal_mat.cc: Inactivate "non" tests.
    	Augment.
    	* tests/metal_vec.cc: Augment.
    	* tests/value_int_u8.cc: Conform to style.
    	* mln/trait/op/eq.hh: Remove dead code.
    	* mln/core/category.hh: Add const version.
    	* mln/core/h_vec.hh: Add traits.
    	* mln/core/ops.hh: Handle const types in traits.
    	* mln/literal/ops.hh: Add traits.
    	* mln/metal/mat.hh: Fix.
    	* mln/metal/vec.hh (sprod): Replace by...
    	(operator*): ...this new operator.
    	* mln/arith/plus.hh (plus_cst): Simplify.
    	* mln/value/ops.hh: Add traits for scalar_.
    	* mln/value/quat.hh: Update.
    	* mln/value/int_u.hh (uminus): New trait.
    	* mln/value/int_u_sat.hh: Fix ctor.
    	* mln/value/builtin/ops.hh: Enhance FIXME txt.
    	* mln/morpho/includes.hh: Update.
    
    
    git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1384 4aad255d-cdde-0310-9447-f3009e2ae8c0
    070a6add