Initial Commit
This commit is contained in:
706 files changed
+135430
No files matched your search
@@ -0,0 +1,18 @@
|
||||
#! @file multiplicative.sakura
|
||||
#! @author John Christman (sorakatadzuma@gmail.com)
|
||||
#! @copyright Malunal Studios, LLC.
|
||||
#! @license MIT
|
||||
#!
|
||||
#! Contains the multiplicative trait, which a type implements to multiply its
|
||||
#! values, and which every number has.
|
||||
|
||||
module core;
|
||||
|
||||
|
||||
#! A type whose values multiply, as one type: matrices, and whatever is
|
||||
#! numeric.
|
||||
#!
|
||||
#! It composes `multipliable`, which gives `*`, beside `equatable`. It asks for
|
||||
#! no division, since not every matrix divides another. Numbers are
|
||||
#! multiplicative without declaring anything.
|
||||
pub trait multiplicative : equatable, multipliable {}
|
||||
Reference in new issue
Block a user