How do I create a one-item vector?

25 Mar 2014 | , , ,
Share on:

Answer: Use the keyword enlist

Example:

q)enlist 1 / create a long integer vector of length 1, the output adds a ‘,’ to indicate this,1

SUGGESTED ARTICLES

Kx Insights: Machine learning subject matter experts in semiconductor manufacturing

9 Jul 2018 | , ,

Subject matter experts are needed for ML projects since generalist data scientists cannot be expected to be fully conversant with the context, details, and specifics of problems across all industries. The challenges are often domain-specific and require considerable industry background to fully contextualize and address. For that reason, successful projects are typically those that adopt a teamwork approach bringing together the strengths of data scientists and subject matter experts. Where data scientists bring generic analytics and coding capabilities, Subject matter experts provide specialized insights in three crucial areas: identifying the right problem, using the right data, and getting the right answers.

kdb+ tick database disaster recovery

Kx Technical Whitepaper: Disaster recovery planning for kdb+ tick systems

2 Nov 2017 | , , , ,

This whitepaper discusses disaster recovery and failover concepts from the perspective of the gateway layer accessing a typical kdb+ tick system used in capital markets applications. The end goal of constructing this plan is to ensure high availability of the application via the gateway where possible, considering all conceivable failure scenarios and outlining any actions required to prevent data loss, minimize any downtime and keep the application accessible.