Veho 0.5.13

There is a newer version of this package available.
See the version list below for details.
dotnet add package Veho --version 0.5.13                
NuGet\Install-Package Veho -Version 0.5.13                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Veho" Version="0.5.13" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Veho --version 0.5.13                
#r "nuget: Veho, 0.5.13"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Veho as a Cake Addin
#addin nuget:?package=Veho&version=0.5.13

// Install Veho as a Cake Tool
#tool nuget:?package=Veho&version=0.5.13                

Banner

Extend enumerable and array functionalities

Version Downloads Dependent Libraries Language Compatibility License

Features

Veho is an extension lib for iterable e.g. array, 2d-array and dictionary.

Content

Package Content
Veho The core library, including all Veho sub projects
Veho.Dictionary Extend IDictionary<TK, TV>
Veho.Entries Extend IReadOnlyList<(TK key, TV value)>
Veho.Enumerable Extend IEnumerable<T>
Veho.Linear Perform basic linear algebra for matrix
Veho.Matrix Extend T[,]
Veho.Mutable.Matrix Extend IReadOnlyList<IReadOnlyList<T>>
Veho.PanBase.Matrix Extend T[,]
Veho.Sequence Extend IReadOnlyList<T> to List<T>
Veho.Tuple Extend (T, T), (T, T, T), (T, T, T, T)
Veho.Types Base types in Veho series
Veho.Vector Extend T[]

Install

Veho targets .NET Standard 2.0, fits both .NET and .NET Framework.

Install Veho package and sub packages.

NuGet Package Manager:

Install-Package Veho

.NET CLI:

dotnet add package Veho

All versions can be found on nuget.

Usage

Zip two arrays into an new array

using Veho.Vector

var vecA = new[] {1, 2, 3, 4, 5};
var vecB = new[] {2, 2, 0, 3, 3};
Func<int, int, int> fn = (x, y) => x * y;
var vecC = fn.Zipper(vecA, vecB);
Console.WriteLine(string.Join(", ", vecC));

Compute max by reducing an array

using Veho.Vector;

var vec = Vec.From(1, 4, 6, 3, 2);
var max = vec.Reduce(Math.Max);
Console.WriteLine(max);

Push a value into an array

using Veho.Vector;
using Spare;

var arr = Vec.From("a", "b", "c");
arr.Push("d")
Console.WriteLine(arr.Deco())

Examples


Veho has a test suite in the test project.

Feedback

Veho is licensed under the MIT license.

Bug report and contribution are welcome at the GitHub repository.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (12)

Showing the top 5 NuGet packages that depend on Veho:

Package Downloads
Spare.Padder

Format each element of enumerables with identical string width

Palett.Munsell

Color conversion

Spare.Deco

Format enumerables: array, 2d-array, dictionary, etc. into string for console output

Palett.Deco

Deco for palett related objects

Aryth.Calculator

Calculate a formula using reverse-polish notation

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.6.11 43 11/27/2024
0.6.10 112 11/27/2024
0.6.9 38 11/27/2024
0.6.8 32 11/27/2024
0.6.7 33 11/27/2024
0.6.6 188 11/26/2024
0.6.5 419 11/25/2024
0.6.4 251 11/25/2024
0.6.3 362 11/24/2024
0.6.2 72 11/24/2024
0.6.1 495 11/24/2024
0.6.0 157 11/24/2024
0.5.13 317 11/21/2024
0.5.12 414 11/4/2024
0.5.11 672 11/2/2024
0.5.10 10,139 10/10/2021
0.5.9 3,743 10/7/2021
0.5.8 349 10/5/2021
0.5.7 2,652 10/5/2021
0.5.6 907 10/5/2021
0.5.5 347 10/4/2021
0.5.4 1,348 10/3/2021
0.5.3 331 10/3/2021
0.5.2 316 10/3/2021
0.5.1 341 9/29/2021
0.5.0 390 9/28/2021
0.4.18 5,651 9/26/2021
0.4.17 766 9/26/2021
0.4.16 397 9/26/2021
0.4.15 1,226 9/26/2021
0.4.14 350 9/25/2021
0.4.13 6,695 9/3/2021
0.4.12 2,311 9/3/2021
0.4.11 380 9/2/2021
0.4.10 342 9/2/2021
0.4.9 2,778 9/2/2021
0.4.8 1,728 9/2/2021
0.4.7 2,269 9/2/2021
0.4.6 362 9/2/2021
0.4.5 382 9/2/2021
0.4.4 1,661 8/31/2021
0.4.3 1,125 8/31/2021
0.4.2 1,590 8/31/2021
0.4.0 1,190 8/31/2021
0.3.6 2,469 8/30/2021
0.3.5 2,928 8/29/2021
0.3.4 367 8/29/2021
0.3.3 352 8/26/2021
0.3.2 384 8/20/2021
0.3.1 3,023 8/20/2021
0.3.0 2,269 8/17/2021
0.2.18 3,775 8/16/2021
0.2.16 1,515 8/16/2021
0.2.15 372 8/16/2021
0.2.14 788 8/16/2021
0.2.13 350 8/15/2021
0.2.12 387 8/15/2021
0.2.11 356 8/15/2021
0.2.10 3,948 8/12/2021
0.2.9 363 8/12/2021
0.2.8 401 8/12/2021
0.2.7 402 8/12/2021
0.2.6 380 8/12/2021
0.2.4 1,249 8/12/2021
0.2.3 580 8/12/2021
0.2.2 373 8/12/2021
0.2.1 370 8/12/2021
0.2.0 370 8/12/2021
0.1.18 2,239 3/7/2021
0.1.17 1,094 3/7/2021
0.1.16 393 3/7/2021
0.1.15 438 3/7/2021
0.1.14 404 3/7/2021
0.1.12 418 3/6/2021
0.1.11 414 3/6/2021
0.1.10 623 3/5/2021
0.1.9 841 3/1/2021
0.1.8 398 2/28/2021
0.1.7 382 2/27/2021
0.1.6 372 2/27/2021
0.1.5 362 2/27/2021
0.1.4 358 2/18/2021
0.1.3 394 2/7/2021
0.1.1 9,728 1/30/2021
0.1.0 402 1/30/2021
0.0.29 1,970 1/29/2021
0.0.26 373 1/29/2021
0.0.25 1,675 1/29/2021
0.0.24 352 1/29/2021
0.0.23 359 1/29/2021
0.0.22 1,507 1/28/2021
0.0.21 371 1/28/2021
0.0.19 368 1/28/2021
0.0.18 405 1/26/2021
0.0.17 1,706 1/25/2021
0.0.16 378 1/25/2021
0.0.15 632 1/25/2021
0.0.14 415 1/25/2021
0.0.13 381 1/25/2021
0.0.12 361 1/24/2021
0.0.11 424 1/24/2021
0.0.10 417 1/24/2021
0.0.9 420 1/23/2021
0.0.8 560 1/22/2021
0.0.7 422 1/19/2021
0.0.6 420 1/19/2021
0.0.5 421 1/19/2021
0.0.4 438 1/19/2021
0.0.1-alpha 293 11/2/2020