Re: Does people favor to have matrix data type?

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Kouhei Kaigai <kaigai(at)ak(dot)jp(dot)nec(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Does people favor to have matrix data type?
Date: 2016-05-25 05:04:25
Message-ID: CAFj8pRDTTqGSKoEb=VXGeQsm8sxYdB7v4+NZzCTV1H82=4c9+Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

2016-05-25 4:52 GMT+02:00 Kouhei Kaigai <kaigai(at)ak(dot)jp(dot)nec(dot)com>:

> In a few days, I'm working for a data type that represents matrix in
> mathematical area. Does people favor to have this data type in the core,
> not only my extension?
>
> Like oidvector or int2vector, it is one of array type with a few
> restrictions:
> - 2 dimensional only
> - never contains NULL
> - element type is real or float
> - no lower bounds of array
>
> A vector in mathematic is a special case of matrix; either 1xN or Nx1.
>
> We can define various operators between matrix/scalar, like:
> matrix + matrix -> matrix
> matrix - scalar -> matrix
> matrix * matrix -> matrix
> transform(matrix) -> matrix
> :
>
> How about people's thought?
>

It is far to data processing - so it should be placed in PGXN.

Regards

Pavel

>
> If overall consensus is welcome to have, I'll set up a patch.

> Thanks,
> --
> NEC Business Creation Division / PG-Strom Project
> KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com>
>
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Seltenreich 2016-05-25 06:24:08 Re: [sqlsmith] PANIC: failed to add BRIN tuple
Previous Message Tom Lane 2016-05-25 04:15:57 Re: Parallel pg_dump's error reporting doesn't work worth squat