19 lines
606 B
Plaintext
19 lines
606 B
Plaintext
#! @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 {}
|