Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 42150b3653
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 29 lines (22 sloc) 0.559 kb
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 26 27 28

(in-package :ima)

;;<<>>=
(defun num-columns (ima)
  (ima-dimension ima 1))

;;<<>>=
(defclause-sequence in-column-vectors-of column-index
  :access-fn 'column-vector
  :size-fn 'num-columns
  :sequence-type t :element-type t)

;;<<>>=
(defun num-rows (ima)
  (ima-dimension ima 0))

;;<<>>=
(defclause-sequence in-row-vectors-of row-index
  :access-fn 'row-vector
  :size-fn 'num-rows
  :sequence-type t :element-type t)

;;<<>>=
(defclause-sequence in-ima ima-index
  :access-fn 'ima-flat-ref
  :size-fn 'ima-flat-size
  :sequence-type t :element-type t)
Something went wrong with that request. Please try again.