1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) 2014 by SiegeLord
//
// All rights reserved. Distributed under LGPL 3.0. For full terms see the file LICENSE.

use traits::{MatrixRawGet, SameShape};

impl
SameShape for
f64
{
	fn same_shape(&self, _: usize, _: usize) -> bool
	{
		true
	}
}

impl
MatrixRawGet for
f64
{
	unsafe fn raw_get(&self, _: usize, _: usize) -> f64
	{
		*self
	}
}