info

coulomb.units.info
object info

Units of information

These definitions use byte as the base unit, and therefore may be thought of as "storage centric" as opposed to information centric:

or physics centric:

For example in physics a nat is unitless, where in these definitions it is a derived unit of byte.

Attributes

Source
info.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
info.type

Members list

Type members

Classlikes

object prefixes

Standard binary prefixes

Standard binary prefixes

Binary prefixes used for computing storage

Standard SI base-10 prefixes are defined in coulomb.units.si.prefixes

Attributes

Source
info.scala
Supertypes
class Object
trait Matchable
class Any
Self type
prefixes.type

Types

final type Bit

The fundamental unit of information: a single "yes/no" answer.

The fundamental unit of information: a single "yes/no" answer.

Equivalent to one shannon:

Attributes

Source
info.scala
final type Byte

A byte is 8 bits, and corresponds to one ASCII character in typical computer memory.

A byte is 8 bits, and corresponds to one ASCII character in typical computer memory.

Attributes

Note

care should be taken to distinguish from scala.Byte

Source
info.scala
final type Nat

Logarithmic unit of information

Logarithmic unit of information

The logarithmic form of Shannon entropy yields quantities in nats:

Attributes

Source
info.scala

Givens

Givens

given ctx_unit_Bit: DerivedUnit[Bit, Byte / 8, "bit", "b"]

Attributes

Source
info.scala
given ctx_unit_Byte: BaseUnit[Byte, "byte", "B"]

Attributes

Source
info.scala
given ctx_unit_Nat: DerivedUnit[Nat, 1.4426950409d * Bit, "nat", "nat"]

Attributes

Source
info.scala