Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions feidlambda-v-0-1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# NEW FUNCTIONS IN FEIDLAMBDA v0.1

FUNCTIONS FEIDLAMBDA v0.1:

- `feid.utils.REPEATCOLS`: Mengulangi _vector_ sebanyak _n_ dalam bentuk kolom. RETURN: COLUMN VECTOR.
- `feid.utils.SORTCOLS`: Menyusun ulang setiap kolom, berdasarkan _header_ yang diurutkan. RETURN: ARRAY.
- `feid.utils.REPEATROWS`: Serupa dengan `.REPEATCOLS`, mengulangi _vector_ sebanyak _n_ dalam bentuk baris. RETURN: ROW VECTOR.
- `feid.utils.RESHAPECOLS`: Mengubah dimensi array dari dimensi _rows x columns_, menjadi _rows x nsplit_ tanpa mengubah susunan baris array. RETURN: ARRAY.
- `feid.utils.FINDINDEX2D`: Mencari index suatu elemen dari _array_ dengan keluaran berupa urutan elemennya, posisi baris dan kolom. RETURN: ARRAY / ROW VECTOR with {number element; index row; index column}.


## REPEATCOLS

```=feid.utils.REPEATCOLS(vector, [num_repeat])```

Catatan: Jika `num_repeat` tidak diisi, maka secara _default_ bernilai 2.

![](./v0.1/demo-feidlambda-0-1-repeatcols.gif)

## SORTCOLS

```=feid.utils.SORTCOLS(table, table_header)```

Catatan: Jika input table sebagai array, maka pastikan memisahkan antara header array dan isinya.

![](./v0.1/demo-feidlambda-0-1-sortcols.gif)

## REPEATROWS

```=feid.utils.REPEATROWS(vector, [num_repeat])```

Catatan: Jika `num_repeat` tidak diisi, maka secara _default_ bernilai 2.

![](./v0.1/demo-feidlambda-0-1-repeatrows.gif)

## RESHAPECOLS

```=feid.utils.RESHAPECOLS(array, [nsplit])```

Catatan: Jika `nsplit` tidak diisi, maka _default_ bernilai 2.

![](./v0.1/demo-feidlambda-0-1-reshapecols.gif)

## FINDINDEX2D

```=feid.utils.FINDINDEX2D(lookup_value, array)```

![](./v0.1/demo-feidlambda-0-1-findindex2d.gif)

---

author: @taruma
Binary file added v0.1/demo-feidlambda-0-1-findindex2d.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added v0.1/demo-feidlambda-0-1-repeatcols.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added v0.1/demo-feidlambda-0-1-repeatrows.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added v0.1/demo-feidlambda-0-1-reshapecols.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added v0.1/demo-feidlambda-0-1-sortcols.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.