Welcome to Tplyr! Tplyr is a grammar of data format and summary. It’s designed to simplify the creation of clinical safety summaries and help you focus on how you present your data rather than redundant summaries being performed.
As always, we welcome your feedback. If you spot a bug, would like to see a new feature, or if any documentation is unclear - submit an issue through GitHub right here.
Take a look at the cheatsheet!
You can Tplyr install with:
# Install from CRAN: install.packages("Tplyr") # Or install the development version: devtools::install_github("https://github.com/atorus-research/Tplyr.git")
dplyr from tidyverse is a grammar of data manipulation. So what does that allow you to do? It gives you, as a data analyst, the capability to easily and intuitively approach the problem of manipulating your data into an analysis ready form. dplyr
conceptually breaks things down into verbs that allow you to focus on what you want to do more than how you have to do it.
Tplyr
is designed around a similar concept, but its focus is on building summary tables within the clinical world. In the pharmaceutical industry, a great deal of the data presented in the outputs we create are very similar. For the most part, most of these tables can be broken down into a few categories:
For many of the tables that go into a clinical submission, at least when considering safety outputs, the tables are made up of a combination of these approaches. Consider a demographics table - and let’s use an example from the PHUSE project Standard Analyses & Code Sharing - Analyses & Displays Associated with Demographics, Disposition, and Medications in Phase 2-4 Clinical Trials and Integrated Summary Documents.
When you look at this table, you can begin breaking this output down into smaller, redundant, components. These components can be viewed as ‘layers’, and the table as a whole is constructed by stacking the layers. The boxes in the image above represent how you can begin to conceptualize this.
So we have one table, with 6 summaries (7 including the next page, not shown) - but only 2 different approaches to summaries being performed. In the same way that dplyr
is a grammar of data manipulation, Tplyr
aims to be a grammar of data summary. The goal of Tplyr
is to allow you to program a summary table like you see it on the page, by breaking a larger problem into smaller ‘layers’, and combining them together like you see on the page.
Enough talking - let’s see some code. In these examples, we will be using data from the PHUSE Test Data Factory based on the original pilot project submission package. Note: You can see our replication of the CDISC pilot using the PHUSE Test Data Factory data here.
tplyr_table(adsl, TRT01P, where = SAFFL == "Y") %>% add_layer( group_desc(AGE, by = "Age (years)") ) %>% add_layer( group_count(AGEGR1, by = "Age Categories n (%)") ) %>% build() %>% kable()
| row_label1 | row_label2 | var1_Placebo | var1_Xanomeline High Dose | var1_Xanomeline Low Dose | ord_layer_index | ord_layer_1 | ord_layer_2 |
|---|---|---|---|---|---|---|---|
| Age (years) | n | 86 | 84 | 84 | 1 | 1 | 1 |
| Age (years) | Mean (SD) | 75.2 ( 8.59) | 74.4 ( 7.89) | 75.7 ( 8.29) | 1 | 1 | 2 |
| Age (years) | Median | 76.0 | 76.0 | 77.5 | 1 | 1 | 3 |
| Age (years) | Q1, Q3 | 69.2, 81.8 | 70.8, 80.0 | 71.0, 82.0 | 1 | 1 | 4 |
| Age (years) | Min, Max | 52, 89 | 56, 88 | 51, 88 | 1 | 1 | 5 |
| Age (years) | Missing | 0 | 0 | 0 | 1 | 1 | 6 |
| Age Categories n (%) | <65 | 14 ( 16.3%) | 11 ( 13.1%) | 8 ( 9.5%) | 2 | 1 | 1 |
| Age Categories n (%) | >80 | 30 ( 34.9%) | 18 ( 21.4%) | 29 ( 34.5%) | 2 | 1 | 2 |
| Age Categories n (%) | 65-80 | 42 ( 48.8%) | 55 ( 65.5%) | 47 ( 56.0%) | 2 | 1 | 3 |
We understand how important documentation and testing is within the pharmaceutical world. This is why outside of unit testing ’Tplyr includes an entire user-acceptable testing document, where requirements were established, test-cases were written, and tests were independently programmed and executed. We do this in the hope that you can leverage our work within a qualified programming environment, and that we save you a substantial amount of trouble in getting it there.
You can find the qualification document within this repository right here. The ‘uat’ folder additionally contains all of the raw files, programmatic tests, specifications, and test cases necessary to create this report.
Here are some of the high level benefits of using Tplyr
:
There’s quite a bit more to learn! And we’ve prepared a number of other vignettes to help you get what you need out of ‘Tplyr’.
vignette("Tplyr")
vignette("table")
vignette("desc")
vignette("count")
vignette("shift")
vignette("denom")
vignette("riskdiff")
vignette("sort")
vignette("options")
vignette("styled-table")
In building ‘Tplyr’, we needed some additional resources in addition to our personal experience to help guide design. PHUSE has done some great work to create guidance for standard outputs with collaboration between multiple pharmaceutical companies and the FDA. You can find some of the resource that we referenced below.
Analysis and Displays Associated with Adverse Events
Analyses and Displays Associated with Demographics, Disposition, and Medications
Analyses and Displays Associated with Measures of Central Tendency


MDLDocument Class Reference
| Inherits from | NSObject |
| Declared in | MDLDocument.h |
Tasks
-
identifier
The document identifier, as generated by Mendeley.
property -
DOI
The document DOI (Digital Object Identifier).
property -
type
The type of the document. This is
property@"Generic"
by default. -
title
The title of the document.
property -
abstract
The abstract of the document.
property -
mendeleyURL
The Mendeley URL of the document.
property -
authors
The authors of the document stored as MDLAuthor.
property -
publication
The publication of the document.
property -
year
The year of the document.
property -
files
The files of the document.
property -
group
The group of the document, if it belongs to one.
property -
isInUserLibrary
A Boolean value that corresponds to whether the document is in the user library.
property -
+ createDocumentWithTitle:parameters:success:failure:
Creates a
MDLDocument
and sends an API creation request using the shared client. -
+ searchWithTerms:atPage:count:success:failure:
Sends an API search request with generic terms using the shared client.
-
+ searchWithGenericTerms:authors:title:year:tags:atPage:count:success:failure:
Sends an API search request with specific terms using the shared client.
-
+ searchTagged:category:subcategory:atPage:count:success:failure:
Sends a search tagged API request using the shared client.
-
+ searchAuthoredWithName:year:atPage:count:success:failure:
Sends a search authored API request using the shared client.
-
+ fetchTopDocumentsInPublicLibraryForCategory:upAndComing:success:failure:
Sends a top documents (papers) API request using the shared client and fetches the response as an array of
MDLDocument
. -
+ fetchDocumentsInUserLibraryAtPage:count:success:failure:
Sends a user library API request using the shared client.
-
+ fetchAuthoredDocumentsInUserLibraryAtPage:count:success:failure:
Sends a user authored API request using the shared client.
-
– uploadFileAtURL:success:failure:
Sends an API upload request using the shared client.
-
– fetchDetailsSuccess:failure:
Sends an API details request for the current document using the shared client.
-
– fetchRelatedDocumentsAtPage:count:success:failure:
Sends a related documents API request using the shared client.
-
– deleteSuccess:failure:
Sends a delete document API request using the shared client.
Properties
DOI
The document DOI (Digital Object Identifier).
@property (copy, nonatomic) NSString *DOI
Discussion
The document DOI (Digital Object Identifier).
Declared In
MDLDocument.h
abstract
The abstract of the document.
@property (copy, nonatomic) NSString *abstract
Discussion
The abstract of the document.
Declared In
MDLDocument.h
authors
The authors of the document stored as MDLAuthor.
@property (strong, nonatomic) NSArray *authors
Discussion
The authors of the document stored as MDLAuthor.
Declared In
MDLDocument.h
files
The files of the document.
@property (strong, nonatomic) NSArray *files
Discussion
The files of the document.
Declared In
MDLDocument.h
group
The group of the document, if it belongs to one.
@property (strong, nonatomic) MDLGroup *group
Discussion
The group of the document, if it belongs to one.
Declared In
MDLDocument.h
identifier
The document identifier, as generated by Mendeley.
@property (copy, nonatomic) NSString *identifier
Discussion
The document identifier, as generated by Mendeley.
Declared In
MDLDocument.h
isInUserLibrary
A Boolean value that corresponds to whether the document is in the user library.
@property (readonly) BOOL isInUserLibrary
Discussion
A Boolean value that corresponds to whether the document is in the user library.
Declared In
MDLDocument.h
mendeleyURL
The Mendeley URL of the document.
@property (strong, nonatomic) NSURL *mendeleyURL
Discussion
The Mendeley URL of the document.
Declared In
MDLDocument.h
publication
The publication of the document.
@property (strong, nonatomic) MDLPublication *publication
Discussion
The publication of the document.
Declared In
MDLDocument.h
title
The title of the document.
@property (copy, nonatomic) NSString *title
Discussion
The title of the document.
Declared In
MDLDocument.h
Class Methods
createDocumentWithTitle:parameters:success:failure:
Creates a MDLDocument
and sends an API creation request using the shared client.
+ (MDLDocument *)createDocumentWithTitle:(NSString *)title parameters:(NSDictionary *)parameters success:(void ( ^ ) ( MDLDocument *))success failure:(void ( ^ ) ( NSError *))failure
Parameters
- title
The title of the document.
- parameters
Optional parameters of the document.
- success
A block object to be executed when the request operation finishes successfully. This block has no return value and takes one argument: the created document with its newly assigned document identifier.
- failure
A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the resonse data. This block has no return value and takes one argument: the
NSError
object describing the network or parsing error that occurred.
Return Value
The newly-initialized document, with document identifier = nil
.
Discussion
Creates a MDLDocument
and sends an API creation request using the shared client.
Declared In
MDLDocument.h
fetchAuthoredDocumentsInUserLibraryAtPage:count:success:failure:
Sends a user authored API request using the shared client.
+ (void)fetchAuthoredDocumentsInUserLibraryAtPage:(NSUInteger)pageIndex count:(NSUInteger)count success:(void ( ^ ) ( NSArray *, NSUInteger , NSUInteger , NSUInteger , NSUInteger ))success failure:(void ( ^ ) ( NSError *))failure
Parameters
- pageIndex
The page index.
O
is first page.
- count
The number of items returned per page.
- success
A block object to be executed when the request operation finishes successfully. This block has no return value and takes five arguments: an array of
MDLDocument
objects, the total number of results, the total number of pages, the index of the current page, and the number of items per page.
- failure
A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the resonse data. This block has no return value and takes one argument: the
NSError
object describing the network or parsing error that occurred.
Discussion
Sends a user authored API request using the shared client.
See Also
Declared In
MDLDocument.h
fetchDocumentsInUserLibraryAtPage:count:success:failure:
Sends a user library API request using the shared client.
+ (void)fetchDocumentsInUserLibraryAtPage:(NSUInteger)pageIndex count:(NSUInteger)count success:(void ( ^ ) ( NSArray *, NSUInteger , NSUInteger , NSUInteger , NSUInteger ))success failure:(void ( ^ ) ( NSError *))failure
Parameters
- pageIndex
The page index.
O
is first page.
- count
The number of items returned per page.
- success
A block object to be executed when the request operation finishes successfully. This block has no return value and takes five arguments: an array of
MDLDocument
objects, the total number of results, the total number of pages, the index of the current page, and the number of items per page.
- failure
A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the resonse data. This block has no return value and takes one argument: the
NSError
object describing the network or parsing error that occurred.
Discussion
Sends a user library API request using the shared client.
See Also
Declared In
MDLDocument.h
fetchTopDocumentsInPublicLibraryForCategory:upAndComing:success:failure:
Sends a top documents (papers) API request using the shared client and fetches the response as an array of MDLDocument
.
+ (void)fetchTopDocumentsInPublicLibraryForCategory:(NSString *)categoryIdentifier upAndComing:(BOOL)upAndComing success:(void ( ^ ) ( NSArray *))success failure:(void ( ^ ) ( NSError *))failure
Parameters
- categoryIdentifier
If not
nil
, the identifier of the category, otherwise across all categories.
- upAndComing
If true, results apply to ‘trending’ documents.
- success
A block object to be executed when the request operation finishes successfully. This block has no return value and takes one argument: an array of
MDLDocument
objects.
- failure
A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the resonse data. This block has no return value and takes one argument: the
NSError
object describing the network or parsing error that occurred.
Discussion
Sends a top documents (papers) API request using the shared client and fetches the response as an array of MDLDocument
.
See Also
Declared In
MDLDocument.h
searchAuthoredWithName:year:atPage:count:success:failure:
Sends a search authored API request using the shared client.
+ (void)searchAuthoredWithName:(NSString *)name year:(NSNumber *)year atPage:(NSUInteger)pageIndex count:(NSUInteger)count success:(void ( ^ ) ( NSArray *, NSUInteger , NSUInteger , NSUInteger , NSUInteger ))success failure:(void ( ^ ) ( NSError *))failure
Parameters
- name
The name of the author for the search query
- year
The year for the search query
- pageIndex
The page index.
O
is first page.
- count
The number of items returned per page.
- success
A block object to be executed when the request operation finishes successfully. This block has no return value and takes five arguments: an array of
MDLDocument
objects for the match, the total number of results, the total number of pages, the index of the current page, and the number of items per page.
- failure
A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the resonse data. This block has no return value and takes one argument: the
NSError
object describing the network or parsing error that occurred.
Discussion
Sends a search authored API request using the shared client.
See Also
Declared In
MDLDocument.h
searchTagged:category:subcategory:atPage:count:success:failure:
Sends a search tagged API request using the shared client.
+ (void)searchTagged:(NSString *)tag category:(MDLCategory *)category subcategory:(MDLSubcategory *)subcategory atPage:(NSUInteger)pageIndex count:(NSUInteger)count success:(void ( ^ ) ( NSArray *, NSUInteger , NSUInteger , NSUInteger , NSUInteger ))success failure:(void ( ^ ) ( NSError *))failure
Parameters
- tag
The tags for the search query
- category
The category for the search query
- subcategory
The subcategory for the search query
- pageIndex
The page index.
O
is first page.
- count
The number of items returned per page.
- success
A block object to be executed when the request operation finishes successfully. This block has no return value and takes five arguments: an array of
MDLDocument
objects for the match, the total number of results, the total number of pages, the index of the current page, and the number of items per page.
- failure
A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the resonse data. This block has no return value and takes one argument: the
NSError
object describing the network or parsing error that occurred.
Discussion
Sends a search tagged API request using the shared client.
See Also
Declared In
MDLDocument.h
searchWithGenericTerms:authors:title:year:tags:atPage:count:success:failure:
Sends an API search request with specific terms using the shared client.
+ (void)searchWithGenericTerms:(NSString *)genericTerms authors:(NSString *)authors title:(NSString *)title year:(NSNumber *)year tags:(NSString *)tags atPage:(NSUInteger)pageIndex count:(NSUInteger)count success:(void ( ^ ) ( NSArray *, NSUInteger , NSUInteger , NSUInteger , NSUInteger ))success failure:(void ( ^ ) ( NSError *))failure
Parameters
- genericTerms
The terms for the search query
- authors
The authors for the search query
- title
The title for the search query
- year
The year for the search query
- tags
The tags for the search query
- pageIndex
The page index.
O
is first page.
- count
The number of items returned per page.
- success
A block object to be executed when the request operation finishes successfully. This block has no return value and takes five arguments: an array of
MDLDocument
objects for the match, the total number of results, the total number of pages, the index of the current page, and the number of items per page.
- failure
A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the resonse data. This block has no return value and takes one argument: the
NSError
object describing the network or parsing error that occurred.
Discussion
Sends an API search request with specific terms using the shared client.
See Also
Declared In
MDLDocument.h
searchWithTerms:atPage:count:success:failure:
Sends an API search request with generic terms using the shared client.
+ (void)searchWithTerms:(NSString *)terms atPage:(NSUInteger)pageIndex count:(NSUInteger)count success:(void ( ^ ) ( NSArray *, NSUInteger , NSUInteger , NSUInteger , NSUInteger ))success failure:(void ( ^ ) ( NSError *))failure
Parameters
- terms
The terms for the search query
- pageIndex
The page index.
O
is first page.
- count
The number of items returned per page.
- success
A block object to be executed when the request operation finishes successfully. This block has no return value and takes five arguments: an array of
MDLDocument
objects for the match, the total number of results, the total number of pages, the index of the current page, and the number of items per page.
- failure
A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the resonse data. This block has no return value and takes one argument: the
NSError
object describing the network or parsing error that occurred.
Discussion
Sends an API search request with generic terms using the shared client.
See Also
Declared In
MDLDocument.h
Instance Methods
deleteSuccess:failure:
Sends a delete document API request using the shared client.
- (void)deleteSuccess:(void ( ^ ) ( ))success failure:(void ( ^ ) ( NSError *))failure
Parameters
- success
A block object to be executed when the request operation finishes successfully. This block has no return value and takes one argument: an array of
MDLDocument
objects.
- failure
A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the resonse data. This block has no return value and takes one argument: the
NSError
object describing the network or parsing error that occurred.
Discussion
Sends a delete document API request using the shared client.
See Also
Declared In
MDLDocument.h
fetchDetailsSuccess:failure:
Sends an API details request for the current document using the shared client.
- (void)fetchDetailsSuccess:(void ( ^ ) ( MDLDocument *))success failure:(void ( ^ ) ( NSError *))failure
Parameters
- success
A block object to be executed when the request operation finishes successfully. This block has no return value and takes one argument: the current document with its newly assigned details.
- failure
A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the resonse data. This block has no return value and takes one argument: the
NSError
object describing the network or parsing error that occurred.
Discussion
Sends an API details request for the current document using the shared client.
See Also
Declared In
MDLDocument.h
fetchRelatedDocumentsAtPage:count:success:failure:
Sends a related documents API request using the shared client.
- (void)fetchRelatedDocumentsAtPage:(NSUInteger)pageIndex count:(NSUInteger)count success:(void ( ^ ) ( NSArray *))success failure:(void ( ^ ) ( NSError *))failure
Parameters
- pageIndex
The page index.
O
is first page.
- count
The number of items returned per page.
- success
A block object to be executed when the request operation finishes successfully. This block has no return value and takes one argument: an array of
MDLDocument
objects.
- failure
A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the resonse data. This block has no return value and takes one argument: the
NSError
object describing the network or parsing error that occurred.
Discussion
Sends a related documents API request using the shared client.
See Also
Declared In
MDLDocument.h
uploadFileAtURL:success:failure:
Sends an API upload request using the shared client.
- (void)uploadFileAtURL:(NSURL *)fileURL success:(void ( ^ ) ( ))success failure:(void ( ^ ) ( NSError *))failure
Parameters
- fileURL
The local URL for the file to upload.
- success
A block object to be executed when the request operation finishes successfully. This block has no return value and takes no argument.
- failure
A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the resonse data. This block has no return value and takes one argument: the
NSError
object describing the network or parsing error that occurred.
Discussion
Sends an API upload request using the shared client.
Keep in mind that Mendeley only handles a limited number of file formats (.pdf, etc).
See Also
Declared In
MDLDocument.h


+92<PHONE_NUMBER>
+92<PHONE_NUMBER>
<EMAIL_ADDRESS>Green-Tech Software House is one of the best web design and development company, we provide you the best It solutions for your business across the Pakistan. Green-Tech is well experienced information technology company and we always provide you the best software development, web design and development, digital marketing, custom application development, product development, hosting solutions, and computer hardware supplier in Pakistan. To get the best services, just contact us today.


Speed up your treatment and reduce hospital visits with the pioneering use of personal health records by University of Southampton NHS Foundation Trust.
The Hampshire Health Record safely shares important information about you with healthcare professionals treating you and your family wherever they are. This leads to faster and more accurate care.
Poole Hospital aims to provide you with the highest quality healthcare as the health professionals caring for you keep records about your health and the treatment you receive from us.
If you have Type 1 diabetes, personal health records could add value to your care, promote self-management and potentially enhance the relationship with your healthcare team.
You can now access, download and print your health information with the Bristol Hospital Patient Health Portal.
Use of the tools / apps presented in this library are not intended to be a substitute for a consultation with a healthcare professional. It is up to you to contact a healthcare professional if you are concerned about your health. See our full disclaimer here.


The following table shows the coding features of each platform:
| Feature | Platform | ||
|---|---|---|---|
| Local Platform | Cloud Platform | ||
| Development Environment The tool you can use to edit project files |
Any IDE | Cloud-hosted VS Code | |
| Version Control Track file changes over time and easily revert mistakes |
Your own git systems | Access historical project files through your backtest results | |
| Anonymous Projects Create and edit local projects without syncing to QuantConnect Cloud |
Self-sovereign security | Managed by QuantConnect | |
| Custom LEAN Versions Build and run custom versions of LEAN |
|||
| Autocomplete Easy-to-use tool to speed up your development |


Dear user,
The dataset owner has revoked your access to the dataset {{dataset}}.
Click the following link for more detail about the datasets you have access
to:
{{url}}
If the above link is not clickable, try copying and pasting it into the address bar of your web browser.
DataExchange


|
BTK
0.3dev.0
Open-source library to visualize/process biomechanical data
|
Extract a subpart of the acquisition. More...
#include <btkSubAcquisitionFilter.h>
Public Types | |
| typedef SharedPtr< const SubAcquisitionFilter > | ConstPointer |
| enum | ExtractionOption { All = 0, PointsOnly, AnalogsOnly, EventsOnly } |
| typedef SharedPtr < SubAcquisitionFilter > | Pointer |
| Public Types inherited from btk::ProcessObject | |
| typedef SharedPtr< const ProcessObject > | ConstPointer |
| typedef SharedPtr< ProcessObject > | Pointer |
| Public Types inherited from btk::Object | |
| typedef SharedPtr< const Object > | ConstPointer |
| typedef SharedPtr< Object > | Pointer |
Public Member Functions | |
| ExtractionOption | GetExtractionOption () const |
| ExtractionOption | GetExtractionOption (std::list< int > &ids) const |
| const int * | GetFramesIndex () const |
| Acquisition::Pointer | GetInput () |
| Acquisition::Pointer | GetOutput () |
| void | SetExtractionOption (ExtractionOption option) |
| void | SetExtractionOption (ExtractionOption option, const std::list< int > &ids) |
| void | SetFramesIndex (int lb=-1, int ub=-1) |
| void | SetInput (Acquisition::Pointer input) |
| Public Member Functions inherited from btk::ProcessObject | |
| int | GetInputNumber () const |
| int | GetOutputNumber () const |
| int | GetValidInputNumber () const |
| void | ResetState () |
| void | Update () |
| Public Member Functions inherited from btk::Object | |
| unsigned long int | GetTimestamp () const |
Static Public Member Functions | |
| static Pointer | New () |
Protected Member Functions | |
| virtual void | GenerateData () |
| Acquisition::Pointer | GetInput (int idx) |
| Acquisition::Pointer | GetOutput (int idx) |
| virtual DataObject::Pointer | MakeOutput (int idx) |
| SubAcquisitionFilter () | |
| Protected Member Functions inherited from btk::ProcessObject | |
| int | GetInputIndex (DataObject::Pointer input) |
| DataObject::Pointer | GetNthInput (int idx) |
| DataObject::ConstPointer | GetNthInput (int idx) const |
| DataObject::Pointer | GetNthOutput (int idx) |
| DataObject::ConstPointer | GetNthOutput (int idx) const |
| int | GetOutputIndex (DataObject::Pointer output) |
| bool | IsModified () const |
| void | Modified () |
| ProcessObject () | |
| void | SetInputNumber (int num) |
| virtual void | SetNthInput (int idx, DataObject::Pointer input) |
| virtual void | SetNthOutput (int idx, DataObject::Pointer output) |
| void | SetOutputNumber (int num) |
| virtual | ~ProcessObject () |
| Protected Member Functions inherited from btk::Object | |
| Object () | |
| Object (const Object &toCopy) | |
| virtual | ~Object () |
Additional Inherited Members | |
| Protected Attributes inherited from btk::Object | |
| unsigned long int | m_Timestamp |
Extract a subpart of the acquisition.
By using the methods SetExtractionOption, you can specify if only the points, the analogs channels, or the events have to be extracted. In the case of the points and the analog channels, you can also specify the ids to extract.
To extract a subpart of the acquisition, you have to use the method SetFramesIndex() and give the indices to extract. The index starts from 0 and correspond to the first frame of the acquisition. By default, all the frames are extracted.
Finally, the rest of the acquisition is every time extracted. Thus, the metadata are only shallow copied, and the first frame, acquisition's frequencies, etc. remain the same.
Smart pointer associated with a SubAcquisitionFilter object.
Smart pointer associated with a SubAcquisitionFilter object.
|
protected |
Constructor. By default, the points, the analog channels and the events are extracted all along the acquisition. The metadata are also added in the result.
|
protectedvirtual |
Generates the outputs' data.
Implements btk::ProcessObject.
|
inline |
Returns the content of the given acquisition to extract.
|
inline |
Returns the content of the given acquisition to extract, but also the given IDs.
|
inline |
Returns the index of the frames to extract. The returned array contains two values, where the first one is the low bound while the second value is the high bound.
The index starts from 0 and correspond to the first frame of the acquisition. By default, all the frames are extracted and boundaries are set to -1.
|
inline |
Gets the input registered with this process.
|
inlineprotected |
Returns the input at the index idx.
|
inline |
Gets the output created with this process.
|
inlineprotected |
Returns the output at the index idx.
|
protectedvirtual |
Creates an Acquisition:Pointer object and return it as a DataObject::Pointer.
Implements btk::ProcessObject.
|
inlinestatic |
Creates a smart pointer associated with a SubAcquisitionFilter object.
| void btk::SubAcquisitionFilter::SetExtractionOption | ( | ExtractionOption | option | ) |
Sets the content in the given acquisition to extract.
| void btk::SubAcquisitionFilter::SetExtractionOption | ( | ExtractionOption | option, |
| const std::list< int > & | ids | ||
| ) |
Set the content to extract by specifying the items' ID.
Only the options PointsOnly and AnalogsOnly are accepted. If the option All or EventsOnly is given to this method, then a warning is displayed and the command is not taken into account.
| void btk::SubAcquisitionFilter::SetFramesIndex | ( | int | lb = -1 , |
| int | ub = -1 |
||
| ) |
Set the boundaries of the frames to extract. The default values (-1) reset the extraction to take all the frames.
|
inline |
Sets the input required with this process.


-
- All Implemented Interfaces:
-
net.milkbowl.vault.economy.Economy
public final class VaultEconomy implements Economy
-
-
Constructor Summary
Constructors Constructor Description VaultEconomy(ProEconomy economy)
-
Method Summary
Modifier and Type Method Description Boolean
isEnabled()
Checks if economy method is enabled. String
getName()
Gets name of economy method Boolean
hasBankSupport()
Returns true if the given implementation supports banks. Integer
fractionalDigits()
Some economy plugins round off after a certain number of digits. String
format(Double amount)
Format amount into a human readable String This provides translation into economy specific formatting to improve consistency between plugins. String
currencyNamePlural()
Returns the name of the currency in plural form. String
currencyNameSingular()
Returns the name of the currency in singular form. Boolean
hasAccount(String playerName)
Boolean
hasAccount(OfflinePlayer player)
Checks if this player has an account on the server yet This will always return true if the player has joined the server at least once as all major economy plugins auto-generate a player account when the player joins the server Boolean
hasAccount(String playerName, String worldName)
Boolean
hasAccount(OfflinePlayer player, String worldName)
Checks if this player has an account on the server yet on the given world This will always return true if the player has joined the server at least once as all major economy plugins auto-generate a player account when the player joins the server Double
getBalance(String playerName)
Double
getBalance(OfflinePlayer player)
Gets balance of a player Double
getBalance(String playerName, String world)
Double
getBalance(OfflinePlayer player, String world)
Gets balance of a player on the specified world. Boolean
has(String playerName, Double amount)
Boolean
has(OfflinePlayer player, Double amount)
Checks if the player account has the amount - DO NOT USE NEGATIVE AMOUNTS Boolean
has(String playerName, String worldName, Double amount)
Boolean
has(OfflinePlayer player, String worldName, Double amount)
Checks if the player account has the amount in a given world - DO NOT USE NEGATIVE AMOUNTS IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned. EconomyResponse
withdrawPlayer(String playerName, Double amount)
EconomyResponse
withdrawPlayer(OfflinePlayer player, Double amount)
Withdraw an amount from a player - DO NOT USE NEGATIVE AMOUNTS EconomyResponse
withdrawPlayer(String playerName, String worldName, Double amount)
EconomyResponse
withdrawPlayer(OfflinePlayer player, String worldName, Double amount)
Withdraw an amount from a player on a given world - DO NOT USE NEGATIVE AMOUNTS IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned. EconomyResponse
depositPlayer(String playerName, Double amount)
EconomyResponse
depositPlayer(OfflinePlayer player, Double amount)
Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS EconomyResponse
depositPlayer(String playerName, String worldName, Double amount)
EconomyResponse
depositPlayer(OfflinePlayer player, String worldName, Double amount)
Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned. EconomyResponse
createBank(String name, String player)
EconomyResponse
createBank(String name, OfflinePlayer player)
Creates a bank account with the specified name and the player as the owner EconomyResponse
deleteBank(String name)
Deletes a bank account with the specified name. EconomyResponse
bankBalance(String name)
Returns the amount the bank has EconomyResponse
bankHas(String name, Double amount)
Returns true or false whether the bank has the amount specified - DO NOT USE NEGATIVE AMOUNTS EconomyResponse
bankWithdraw(String name, Double amount)
Withdraw an amount from a bank account - DO NOT USE NEGATIVE AMOUNTS EconomyResponse
bankDeposit(String name, Double amount)
Deposit an amount into a bank account - DO NOT USE NEGATIVE AMOUNTS EconomyResponse
isBankOwner(String name, String playerName)
EconomyResponse
isBankOwner(String name, OfflinePlayer player)
Check if a player is the owner of a bank account EconomyResponse
isBankMember(String name, String playerName)
EconomyResponse
isBankMember(String name, OfflinePlayer player)
Check if the player is a member of the bank account List<String>
getBanks()
Gets the list of banks Boolean
createPlayerAccount(String playerName)
Boolean
createPlayerAccount(OfflinePlayer player)
Attempts to create a player account for the given player Boolean
createPlayerAccount(String playerName, String worldName)
Boolean
createPlayerAccount(OfflinePlayer player, String worldName)
Attempts to create a player account for the given player on the specified world IMPLEMENTATION SPECIFIC - if an economy plugin does not support this then false will always be returned. -
-
Constructor Detail
-
VaultEconomy
VaultEconomy(ProEconomy economy)
-
-
Method Detail
-
hasBankSupport
Boolean hasBankSupport()
Returns true if the given implementation supports banks.
-
fractionalDigits
Integer fractionalDigits()
Some economy plugins round off after a certain number of digits. This function returns the number of digits the plugin keeps or -1 if no rounding occurs.
-
format
String format(Double amount)
Format amount into a human readable String This provides translation into economy specific formatting to improve consistency between plugins.
- Parameters:
amount
- to format
-
currencyNamePlural
String currencyNamePlural()
Returns the name of the currency in plural form. If the economy being used does not support currency names then an empty string will be returned.
-
currencyNameSingular
String currencyNameSingular()
Returns the name of the currency in singular form. If the economy being used does not support currency names then an empty string will be returned.
-
hasAccount
Boolean hasAccount(String playerName)
-
hasAccount
Boolean hasAccount(OfflinePlayer player)
Checks if this player has an account on the server yet This will always return true if the player has joined the server at least once as all major economy plugins auto-generate a player account when the player joins the server
- Parameters:
player
- to check
-
hasAccount
Boolean hasAccount(String playerName, String worldName)
-
hasAccount
Boolean hasAccount(OfflinePlayer player, String worldName)
Checks if this player has an account on the server yet on the given world This will always return true if the player has joined the server at least once as all major economy plugins auto-generate a player account when the player joins the server
- Parameters:
player
- to check in the worldworldName
- world-specific account
-
getBalance
Double getBalance(String playerName)
-
getBalance
Double getBalance(OfflinePlayer player)
Gets balance of a player
- Parameters:
player
- of the player
-
getBalance
Double getBalance(String playerName, String world)
-
getBalance
Double getBalance(OfflinePlayer player, String world)
Gets balance of a player on the specified world. IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.
- Parameters:
player
- to checkworld
- name of the world
-
has
Boolean has(OfflinePlayer player, Double amount)
Checks if the player account has the amount - DO NOT USE NEGATIVE AMOUNTS
- Parameters:
player
- to checkamount
- to check for
-
has
Boolean has(OfflinePlayer player, String worldName, Double amount)
Checks if the player account has the amount in a given world - DO NOT USE NEGATIVE AMOUNTS IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.
- Parameters:
player
- to checkworldName
- to check withamount
- to check for
-
withdrawPlayer
EconomyResponse withdrawPlayer(String playerName, Double amount)
-
withdrawPlayer
EconomyResponse withdrawPlayer(OfflinePlayer player, Double amount)
Withdraw an amount from a player - DO NOT USE NEGATIVE AMOUNTS
- Parameters:
player
- to withdraw fromamount
- Amount to withdraw
-
withdrawPlayer
EconomyResponse withdrawPlayer(String playerName, String worldName, Double amount)
-
withdrawPlayer
EconomyResponse withdrawPlayer(OfflinePlayer player, String worldName, Double amount)
Withdraw an amount from a player on a given world - DO NOT USE NEGATIVE AMOUNTS IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.
- Parameters:
player
- to withdraw fromworldName
-name of the world
amount
- Amount to withdraw
-
depositPlayer
EconomyResponse depositPlayer(String playerName, Double amount)
-
depositPlayer
EconomyResponse depositPlayer(OfflinePlayer player, Double amount)
Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS
- Parameters:
player
- to deposit toamount
- Amount to deposit
-
depositPlayer
EconomyResponse depositPlayer(String playerName, String worldName, Double amount)
-
depositPlayer
EconomyResponse depositPlayer(OfflinePlayer player, String worldName, Double amount)
Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.
- Parameters:
player
- to deposit toworldName
- name of the worldamount
- Amount to deposit
-
createBank
EconomyResponse createBank(String name, String player)
-
createBank
EconomyResponse createBank(String name, OfflinePlayer player)
Creates a bank account with the specified name and the player as the owner
- Parameters:
name
- of accountplayer
- the account should be linked to
-
deleteBank
EconomyResponse deleteBank(String name)
Deletes a bank account with the specified name.
- Parameters:
name
- of the back to delete
-
bankBalance
EconomyResponse bankBalance(String name)
Returns the amount the bank has
- Parameters:
name
- of the account
-
bankHas
EconomyResponse bankHas(String name, Double amount)
Returns true or false whether the bank has the amount specified - DO NOT USE NEGATIVE AMOUNTS
- Parameters:
name
- of the accountamount
- to check for
-
bankWithdraw
EconomyResponse bankWithdraw(String name, Double amount)
Withdraw an amount from a bank account - DO NOT USE NEGATIVE AMOUNTS
- Parameters:
name
- of the accountamount
- to withdraw
-
bankDeposit
EconomyResponse bankDeposit(String name, Double amount)
Deposit an amount into a bank account - DO NOT USE NEGATIVE AMOUNTS
- Parameters:
name
- of the accountamount
- to deposit
-
isBankOwner
EconomyResponse isBankOwner(String name, String playerName)
-
isBankOwner
EconomyResponse isBankOwner(String name, OfflinePlayer player)
Check if a player is the owner of a bank account
- Parameters:
name
- of the accountplayer
- to check for ownership
-
isBankMember
EconomyResponse isBankMember(String name, String playerName)
-
isBankMember
EconomyResponse isBankMember(String name, OfflinePlayer player)
Check if the player is a member of the bank account
- Parameters:
name
- of the accountplayer
- to check membership
-
createPlayerAccount
Boolean createPlayerAccount(String playerName)
-
createPlayerAccount
Boolean createPlayerAccount(OfflinePlayer player)
Attempts to create a player account for the given player
- Parameters:
player
- OfflinePlayer
-
createPlayerAccount
Boolean createPlayerAccount(String playerName, String worldName)
-
createPlayerAccount
Boolean createPlayerAccount(OfflinePlayer player, String worldName)
Attempts to create a player account for the given player on the specified world IMPLEMENTATION SPECIFIC - if an economy plugin does not support this then false will always be returned.
- Parameters:
player
- OfflinePlayerworldName
- String name of the world
-
-
-
-


Enter address below:
Subject:
Level
1
2
3
Price per session
Less than 10
Less than 20
Less than 30
Within radius of
1km
200km
30000km


Powered by Github-Dashing and Dashing. Data provided by github.com. Inspecting repositories, starting from . See http://github-dashing.herokuapp.com.


Modified from GDI Austin Ruby on Rails track. Major, major props to Cecy Correa of GDI Austin!
Girl Develop It is here to provide affordable and accessible programs to learn software through mentorship and hands-on instruction.
Some "rules"
Tell us about yourself.
# Java
for(int i = 0; i < 5; i++)
# Ruby
5.times do
We'll use REPL.IT to run Ruby code.
Okay... I'm exaggerating!
Select "Ruby"
puts "Hello World!"
1 + 1
Will evaluate to 2!
You can subtract (-), multiply (*), "divide" (%)
Just puting "Hello World!" every time is boring. We can store this in a variable!
Programmers are lazy. We like to type very little!
greeting = "Hello World!"
Variables can store data!
Strings, numbers, and booleans are a subset of Ruby datatypes.
Can combine them with "puts"!
Goal:
Go to https://repl.it/HBtw/2
Duration: 5 minutes
gets.chomp
This grabs the info the user types in...
Can save this to a variable to use the value again!
response = gets.chomp
puts "What is your name?"
name = gets.chomp
puts "Where are you from?"
location = gets.chomp
puts "What is your favorite animal?"

Make methods do things!
They take something in and spit something out
This method takes in a name, and greets the name.
def greeting(name)
name = name.capitalize
puts "Hello " + name
end
Whatever value is on the last line of the method is the return value
def get_date()
Date.today
end
def add_and_times(initial, add, times)
added_value = initial + add
added_value * times
end
result = add_and_times(0,1,5)
puts result
Goal:
Go to https://repl.it/HBxb/7
Duration: 5 minutes
Used when you want to do something multiple times
for i in 0..9 do
puts "#{i}"
end
while i < 9 do
puts i
i+=1
end
Do something if the test evaluates to true"
"==" means compare!
if animal == "dog"
puts "bark"
elsif animal == "cat"
puts "meow"
elsif animal == "snake"
puts "hiss"
else
puts "meep! I don't know what animal type this is :("
end
array_of_stuff = [1, "two", "3", "A"]
Can be filled with stuff on initialization!
pet_types = ["cat", "dog", "snake"]
Can be empty on initialization
pet_types = []
pet_types << "bird"
pet_types.push("bird")
pet_types = ["cat", "dog", "snake"]
There are different ways to take stuff out
pet_types.pop
This removes the last thing in the array
It also "returns" that value
pet_types[0]
pet_types[1]
pet_types[2]
You can get the value you want depending on where it is in the array
Position is its "index"
BEWARE! Arrays start at "0"
Goal:
Go to https://repl.it/HBtl/1
Duration: 5 minutes
Hashes allow you to store information in "key value" pairs.
pet = { type: "snake", price: 10 }
vs
pet_type = "snake"
pet_price = 10
This helps keep info organized.
What are other things we could store in hashes?
pet = { type: "snake", prices: [10, 15, 20] }
pet_types = [
{
name: "snakes",
price: 10
},
{
name: "cats",
price: 20
},
{
name: "dogs",
price: 20
}
]
Getting info out
pet_types[0][:name]
pet_types[0][:price]
pet_types[1][:name]
pet_types[1][:price]
# etc....
So tedious!
You can use .each do to loop through items in an array!
pet_types.each do |pet_type|
puts pet_type[:name]
puts pet_type[:price]
end
This outputs all of the types and their attributes at once!
for type in pet_types
puts type[:name]
puts type[:price]
end
Goal:
Go to https://repl.it/HByP/1
Duration: 5 minutes
Let's "model" a cat.
A cat has...
class Cat
attr :name
def initialize(name)
@name = name
end
def talks
puts "*meowwwww*"
end
end
What if you wanted to create a class "Dog", but you knew it would be pretty similar to "Cat"?
Is there a way to "copy" a class?
Why, yes! (Sort of.) You can use sub-classes.
class Pet
attr :name
def initialize(name)
@name = name
end
def talks(noise)
puts noise
end
end
class Cat < Pet
def initialize(name)
@name = name
end
def talks
super("meowwww")
end
end
class Dog < Pet
def initialize(name)
@name = name
end
def talks
super("wooofff")
end
end
You can use the < to symbolize Cat and Dog is a sub-class from Pet.
The stuff available for Pet is available for Cat.
The stuff available for Cat is NOT available for Pet.
Goal:
Go to https://repl.it/HBy3/1
Duration: 10 minutes
Everyone go to https://repl.it/HBwN/7
Does stuff look familiar???
You got this!!
Please help us improve this class by taking this short survey!


The permissions that will be granted on this file, you can use the same values shown in "General Plugin Config" topic on this guide.
def uploadedFile =
new
File(
"/tmp/test.txt"
).s3upload { acl
"
private
"
}


Analysis of experimental crosses to identify genes (called quantitative trait loci, QTLs) contributing to variation in quantitative traits.
| Version: | 1.42-8 |
| Depends: | R (≥ 2.14.0) |
| Imports: | parallel, graphics, stats, utils, grDevices |
| Suggests: | testthat |
| Published: | 2018-02-19 |
| Author: | Karl W Broman and Hao Wu, with ideas from Gary Churchill and Saunak Sen and contributions from Danny Arends, Robert Corty, Timothee Flutre, Ritsert Jansen, Pjotr Prins, Lars Ronnegard, Rohan Shah, Laura Shannon, Quoc Tran, Aaron Wolen, and Brian Yandell |
| Maintainer: | Karl W Broman <kbroman at biostat.wisc.edu> |
| BugReports: | https://github.com/kbroman/qtl/issues |
| License: | GPL-3 |
| URL: | https://rqtl.org, https://github.com/kbroman/qtl |
| NeedsCompilation: | yes |
| Citation: | qtl citation info |
| Materials: | README |
| In views: | Genetics |
| CRAN checks: | qtl results |
| Reference manual: | qtl.pdf |
| Vignettes: |
Users Guide for New BCsFt Tools for R/qtl |
| Package source: | qtl_1.42-8.tar.gz |
| Windows binaries: | r-devel: qtl_1.42-8.zip, r-release: qtl_1.42-8.zip, r-oldrel: qtl_1.42-8.zip |
| OS X binaries: | r-release: qtl_1.42-8.tgz, r-oldrel: qtl_1.42-8.tgz |
| Old sources: | qtl archive |
| Reverse depends: | ASMap, ctl, dlmap, eqtl, MPR.genotyping, mQTL, pheno2geno, QTL.gCIMapping, QTL.gCIMapping.GUI, qtlbook, qtlhot, qtlnet, wgaim, xoi |
| Reverse imports: | BayesNetBP, GenomicMating, lineup, LinkageMapView, lmem.qtler, mppR, netgwas, PopVar, qtlcharts, synbreed, vqtl |
| Reverse suggests: | agridat, genotypeR, MDSMap, onemap, QTLRel, varbvs |
Please use the canonical form https://CRAN.R-project.org/package=qtl to link to this page.


| | |
- __builtin__.dict(__builtin__.object)
-
- Response
- __builtin__.object
-
- Http
- ProxyInfo
- exceptions.Exception(exceptions.BaseException)
-
- HttpLib2Error
-
- ProxiesUnavailableError
- HttpLib2ErrorWithResponse(HttpLib2Error)
-
- FailedToDecompressContent
- RedirectLimit
- RedirectMissingLocation
- UnimplementedDigestAuthOptionError
- UnimplementedHmacDigestAuthOptionError
class Http(__builtin__.object) |
| |
An HTTP client that handles:
- all methods
- caching
- ETags
- compression,
- HTTPS
- Basic
- Digest
- WSSE
and more. |
| |
Methods defined here:
- __init__(self, cache=None, timeout=None, proxy_info=None, ca_certs=None, disable_ssl_certificate_validation=False)
- The value of proxy_info is a ProxyInfo instance.
If 'cache' is a string then it is used as a directory name for
a disk cache. Otherwise it must be an object that supports the
same interface as FileCache.
All timeouts are in seconds. If None is passed for timeout
then Python's default timeout for sockets will be used. See
for example the docs of socket.setdefaulttimeout():
http://docs.python.org/library/socket.html#socket.setdefaulttimeout
ca_certs is the path of a file containing root CA certificates for SSL
server certificate validation. By default, a CA cert file bundled with
httplib2 is used.
If disable_ssl_certificate_validation is true, SSL cert validation will
not be performed.
- add_certificate(self, key, cert, domain)
- Add a key and cert that will be used
any time a request requires authentication.
- add_credentials(self, name, password, domain='')
- Add a name and password that will be used
any time a request requires authentication.
- clear_credentials(self)
- Remove all the names and passwords
that are used for authentication
- request(self, uri, method='GET', body=None, headers=None, redirections=5, connection_type=None)
- Performs a single HTTP request.
The 'uri' is the URI of the HTTP resource and can begin
with either 'http' or 'https'. The value of 'uri' must be an absolute URI.
The 'method' is the HTTP method to perform, such as GET, POST, DELETE, etc.
There is no restriction on the methods allowed.
The 'body' is the entity body to be sent with the request. It is a string
object.
Any extra headers that are to be sent with the request should be provided in the
'headers' dictionary.
The maximum number of redirect to follow before raising an
exception is 'redirections. The default is 5.
The return value is a tuple of (response, content), the first
being and instance of the 'Response' class, the second being
a string that contains the response entity body.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class ProxyInfo(__builtin__.object) |
| |
Collect information required to use a proxy. |
| |
Methods defined here:
- __init__(self, proxy_type, proxy_host, proxy_port, proxy_rdns=None, proxy_user=None, proxy_pass=None)
- The parameter proxy_type must be set to one of socks.PROXY_TYPE_XXX
constants. For example:
p = ProxyInfo(proxy_type=socks.PROXY_TYPE_HTTP, proxy_host='localhost', proxy_port=8000)
- astuple(self)
- isgood(self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class Response(__builtin__.dict) |
| |
An object more like email.Message than httplib.HTTPResponse. |
| |
- Method resolution order:
- Response
- __builtin__.dict
- __builtin__.object
Methods defined here:
- __getattr__(self, name)
- __init__(self, info)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes defined here:
- fromcache = False
- previous = None
- reason = 'Ok'
- status = 200
- version = 11
Methods inherited from __builtin__.dict:
- __cmp__(...)
- x.__cmp__(y) <==> cmp(x,y)
- __contains__(...)
- D.__contains__(k) -> True if D has a key k, else False
- __delitem__(...)
- x.__delitem__(y) <==> del x[y]
- __eq__(...)
- x.__eq__(y) <==> x==y
- __ge__(...)
- x.__ge__(y) <==> x>=y
- __getattribute__(...)
- x.__getattribute__('name') <==> x.name
- __getitem__(...)
- x.__getitem__(y) <==> x[y]
- __gt__(...)
- x.__gt__(y) <==> x>y
- __iter__(...)
- x.__iter__() <==> iter(x)
- __le__(...)
- x.__le__(y) <==> x<=y
- __len__(...)
- x.__len__() <==> len(x)
- __lt__(...)
- x.__lt__(y) <==> x<y
- __ne__(...)
- x.__ne__(y) <==> x!=y
- __repr__(...)
- x.__repr__() <==> repr(x)
- __setitem__(...)
- x.__setitem__(i, y) <==> x[i]=y
- __sizeof__(...)
- D.__sizeof__() -> size of D in memory, in bytes
- clear(...)
- D.clear() -> None. Remove all items from D.
- copy(...)
- D.copy() -> a shallow copy of D
- get(...)
- D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None.
- has_key(...)
- D.has_key(k) -> True if D has a key k, else False
- items(...)
- D.items() -> list of D's (key, value) pairs, as 2-tuples
- iteritems(...)
- D.iteritems() -> an iterator over the (key, value) items of D
- iterkeys(...)
- D.iterkeys() -> an iterator over the keys of D
- itervalues(...)
- D.itervalues() -> an iterator over the values of D
- keys(...)
- D.keys() -> list of D's keys
- pop(...)
- D.pop(k[,d]) -> v, remove specified key and return the corresponding value.
If key is not found, d is returned if given, otherwise KeyError is raised
- popitem(...)
- D.popitem() -> (k, v), remove and return some (key, value) pair as a
2-tuple; but raise KeyError if D is empty.
- setdefault(...)
- D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D
- update(...)
- D.update(E, **F) -> None. Update D from dict/iterable E and F.
If E has a .keys() method, does: for k in E: D[k] = E[k]
If E lacks .keys() method, does: for (k, v) in E: D[k] = v
In either case, this is followed by: for k in F: D[k] = F[k]
- values(...)
- D.values() -> list of D's values
Data and other attributes inherited from __builtin__.dict:
- __hash__ = None
- __new__ = <built-in method __new__ of type object>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
- fromkeys = <built-in method fromkeys of type object>
- dict.fromkeys(S[,v]) -> New dict with keys from S and values equal to v.
v defaults to None.
|
|


#{pageTitle} - Bonobo2k15
Write a news
Title
Content
Cancel
Log In
E-Mail
Password
Nope
Logging out
Are you sure you want to log out?
Invalid e-mail or password


@@include('./_head.html', { "path": "..", "title": "Pixel Documentation - Gulp" })
MenuHere we'll explain what each gulp command does.
Developing with Pixel is extremely easy. All you have to do to run a local server is writing the following command in the folder where gulpfile.js
is located:
gulp
It watches for any change you will make in the project and compiles the code and refreshes your browser with the modified changes.
We recommend using this command if you choose to use the awesome features of Sass
.
Pixel has you covered. All you have to do is write the following command:
gulp build:dist
This command will generate a dist/
folder where you'll get all the files necessary to go live with your awesome website. Images are automatically optimized and the files are minified.
Even if Sass has some awesome features, maybe you just need the plain old CSS, HTML and JS stack. We though about this, so run the following command:
gulp build:dev
This command will generate a html&css/
folder where you'll get all the required files to use without Sass, Gulp or npm. This code is beatified and the CSS is documented with commenting sections.
To start working with the starter folder just run the following command:
gulp starter
This command does what the default gulp
command does but only for what is in the starter/
folder. It creates a temporary ./starter-temp
folder from where the files are being served by BrowserSync.
If you have specific questions about the theme's gulpfile.js
,
please contact us here.


'In The Mood For Love(2000, Wong Kar-wai) : Remastering' has been released at Dec 24.
About MovieHollywood Slams Golden Globes for Categorizing ‘Minari’ as Foreign Language Film
Continue readingSarah Paulson plays a menacing parent in this enjoyably ludicrous thriller.
By. Jeannette Catsoulis of "The New York Times"
Published Nov. 19, 2020
Updated Nov. 20, 2020
If it’s not one thing, it’s your mother. Balancing on the backs of umpteen matriarch-from-hell
movies, the director Aneesh Chaganty brings us “Run,” a nifty little thriller whose title pleads for
an exclamation point.
And not just because of its hyperventilating style. Sarah Paulson’s performance in the role of Diane
— a single mother so controlling she’s more prison warden than parent — flickers with camp. That
tone is on display when Diane insinuates to fellow home-schoolers that, for the past 17 years, her
sickly daughter, Chloe (Kiera Allen), has made her life a misery of servitude. And it fully blooms
in the movie’s dementedly operatic final scenes, when the scales have slipped from Chloe’s eyes and
Diane is revealed in all her deranged glory.
WandaVision, Cobra Kai, Shadow in the Cloud Etc...
TV Serise & Movies, you can watch in January.2021
See More


Choose zipcode
Choose period
You are about to analyze card payments that took place on at .
Payments are depicted as 3D spheres and they fall inside a transparent box at the pace they were carried out.
Each sphere corresponds with a group of upto 150 payments on an specific day made by people in the same age group and gender.
The sphere radius is proportional to the average payment and its color represents the commercial category following this legend:
You can create several magnetic fields (a.k.a. filters) to take apart the spheres matching given criteria out of the transparent box
show instructionsYou can use the following data variables in your filter expressions: $date
, $category
, $num_payments
, $avg_payment
, $gender
and $age_range
.
Filter expressions support the following comparison operators: ==
(equals to), !=
(not equals to), >
(greater than), >=
(greater than or equals to), <
(less than), <=
(less than or equals to); and the logical operators: &&
(and), ||
(or) and !
(not).
Examples:
($category == 'mx_office') && ($date >= '20131101') && ($date <= 20131110')


🌛
Home
About
Projects
Contact
This page is also under construction.
See
resume
for contact information.


Sign In
Invalid username and password.
You have been logged out.
Sign In
Alternatively, you may
sign in using the EdExchange Directory.


mysqld: unknown variable ‘master-host=
Are you trying to setup on replication on mysql5.5+ ? ok. then that’s the issue.
The following options are removed in MySQL 5.5. If you attempt to start mysqld with any of these options in MySQL 5.5, the server aborts with an unknown variable error.
–master-host
–master-user
–master-password
–master-port
Solution, comment the master- related variables.
Do following,
On Master:
mysql>GRANT REPLICATION SLAVE ON *.* TO ‘slave_user’@’%’ IDENTIFIED BY ‘
mysql>FLUSH PRIVILEGES;
mysql>FLUSH TABLES WITH READ LOCK;
mysql>SHOW MASTER STATUS;
# get the DB dump.
mysql>UNLOCK TABLES;
On Slave:
# import the DB dump
mysql>stop slave;
mysql>CHANGE MASTER TO MASTER_HOST=’prod_master’, MASTER_USER=’slave_user’, MASTER_PASSWORD=’<some_password>‘, MASTER_LOG_FILE=’mysql-bin.0xx‘, MASTER_LOG_POS=33421;
mysql>start slave;
Ref: http://dev.mysql.com/doc/refman/5.5/en/replication-options-slave.html


Most existing GNN (Graph Neural Network) methods are inherently flat and are unable to process the information in a hierarchical manner.
The paper proposes a differentiable graph pooling operation, DIFFPOOL, that can generate hierarchical graph representations and can be easily plugged into many GNN architectures.
CNNs have spatial pooling operation that allows for deep CNN architectures to operate on coarse graph representations of input images.
This notion cannot be applied as-is to graphs as they do not have a natural notion of spatial locality like images do.
DIFFPOOL attempts to resolve this problem by learning a differentiable soft-assignment at each layer which is equivalent to pooling the cluster of nodes to obtain a sparse representation.
Given a graph G(A, F), where A is the adjacency matrix and F is the feature matrix.
Given a permutation invariant GNN that follows the message passing architecture. The output of this GNN can be expressed as Z = GNN(A, X) where X is the current feature matrix.
Goal is to stack L GNN layers on top of each other such that the lth layer uses coarsened output from the (l-1)th layer.
This coarsening operation uses a cluster assignment matrix S.
The learned cluster assignment matrix at layer l is denoted at Sl
Given Sl, the embedding matrix for the (l+1)th layer is given as transpose(Sl)Zl and adjancecy matrix is given by transpose(Sl)AlSl
A new GNN, called as GNNpool is used to produce the assignment matrix S by taking a softmax over GNNpool(Al, Xl)
As long as the GNN model is permutation invariant, the resulting DIFFPOOL model is also permutation invariant.
The paper uses 2 auxiliary losses to push the model away from spurious local minima early in the training.
Link prediction objective - at each layer, link prediction loss ( = A - S(transpose(S))) is minimized with the intuition that the nearby nodes should be pooled together.
Ideally, the cluster assignment for each node should be a one-hot vector so the entropy for cluster assignment per node is regularized.
DiffPool obtains the highest average performance across all the pooling approaches and improves upon the base GraphSage architecture by an average of around 7%.
In terms of runtime complexity, the paper reports that DiffPool does not incur any significant additional running time. But given that now there are 2 GNN models per layer, the size of the model should increase.
DiffPool can capture hierarchical community structure even when trained on just the graph classification loss.
One advantage of DiffPool is that the nodes are pooled in a non-uniform way so densely connected group of nodes would collapse into one cluster while sparsely connected nodes can retain their identity.


etap_trace_event
System Trap - manipulate event probes and lock event tracing.
SYNOPSIS
#include<mach/etap.h> kern_return_t etap_trace_event (etap_data_t mode, mode type, boolean_t enable, enable nargs, mode mode);
PARAMETERS
- mode
-
indicates the desired trace flavor or reset option and may be one,
or more, of the following:
-
ETAP_CUMULATIVE: cumulative lock event trace mode.
-
ETAP_MONITORED: monitored event trace mode (for probes or locks)
- ETAP_RESET: reset mode, clears all trace status and cumulative buffer entries
-
ETAP_CUMULATIVE: cumulative lock event trace mode.
- type
-
used when measuring lock event contention or durations
and may be one, or more, of the following:
-
ETAP_CONTENT
- ETAP_DURATION
-
ETAP_CONTENT
- enable
-
a boolean value indicattin whether the event trace operation is
to be enabled (TRUE) or disabled (FALSE).
- nargs
-
specifies how many arguments are passed in the args array.
- args
- an array, each element of which is a character string representing a specific subsystem or event type. These values must correspond to the ones the kernel uses to represent the same subsystems and event types. The maximum length of a character string is EVENT_NAME_LENGTH (defined in mach/etap.h).
DESCRIPTION
The etap_trace_event system call is used to enable and disable kernel event probes (of a specified type) and all modes of lock event tracing. The call also supports a reset option, where the cumulative buffer data and all event type tracing is reset to zero. When the reset option is used, a new interval width can also be defined, using the nargs parameter.
To reset the ETAP instrumentation, the system call would utilize the mode parameter, passing the value of ETAP_RESET (All other parameters may equal NULL). If, at the time of reset, the nargs parameter is assigned a value, then the cumulative buffer interval width will be adjusted to be the size of that value. For example, the following system call would reset the ETAP instrumentation and adjust the cumulative buffer's interval width to 100ms:
etap_trace_event(ETAP_RESET, 0, 0, 100, 0);
RETURN VALUES
- KERN_SUCCESS
-
The call was performed successfully.
- KERN_NO_SPACE
-
A shortage of kernel resources prevented the operation from completing;
the kernel has cleaned up all residual state (the error indicates a "clean"
failure).
- KERN_FAILURE
- ETAP is not configured in the kernel.
RELATED INFORMATION
Functions: etap_probe, etap_trace_thread, etap_get_info.


{if condition="session('registerFlag')"}
Registered successfully! Account Name:{$account_name = session('account_name')} Account Id:{$account_id = session('account_id')}
{/if} {if condition="session('registerCheckFlag')"}
Registration failed! The phone number already exists or the account name already exists！
{/if}
Username
Phone
Password
Register


WITNESS LIST Business & Industry Committee April 9, 1997-2:00P HB 1221 For: ANSEL, FRANK (SELF) EMERICK, HUBERT (RV/MH OWNERS ASS.) FITZPATRICK,JIM (AARP) SOLIS, JIM (SELF) STARK, KATHY (AUSTIN TENANTS' COUNCIL) WATSON, PAUL E. (STONEGATE RESIDENTS) WUSTERHAUSEN, JIMMIE D. (STONEGATE RESIDENTS) Against: ZIMMERMAN, CHARLOTTE (TX.MANUF.HOUSING ASS.) On: DOGGETT, ROBERT (MOBILE HOME RENTERS/OWN) HB 1432 For: FINDEISEN, LES (TX.MOTOR TRANS.ASS.) FREELAND, LEE T. (TIHC) KENDRICK, JAMES SKIPPER (ASSE) Against: BENTON, JOHN (INDUST.HYGIENE SPECIAL.) DUBIN, BRIAN (SELF) LARY, MICHAEL (SELF) OXYER, ALEX (EMPLOYMENT RISK SYSTEMS) WHITAKER, BILL (SELF) WHITAKER, SANDRA (SELF) On: STREETMAN, ANN M. (TX.SAFETY ASS. INC.) HB 2016 For: ADKINS, RAY (TEXAS TENANTS' UNION) BURNAM, LON (SELF) DOGGETT, ROBERT (TENANTS OF TEXAS) MINTZ, DAVID (TEXAS APARTMENT ASS.) STARK, KATHERINE (AUSTIN TENANTS' COUNCIL) HB 2128 For: ALCORTA, VICTOR (DIRECT MARKETING ASS.) On: PAPPAS, LAURIE (PUBLIC UTILITY COUNCIL) HB 2239 For: JARD, JIM (WEST HOUSTON ASS.) HB 2570 On: FLORES, CARMEN (TX.SECRETARY OF STATE) HB 2631 On: FLORES, CARMEN (TX.SECRETARY OF STATE) HB 2632 On: FLORES, CARMEN (TX.SECRETARY OF STATE) HB 2633 For: JONES, LINDA SUE (SELF) HB 2683 For: SAVIO, HARRY (TX.CAP.AREA BUILDERS AS) WHITNEY, LEON (TX. CABA) HB 2759 For: DREYSPIRA, MICHAEL (SELF) WALKER, GARY (SELF) HB 2966 For: DAVILA, DIANA (SELF) On: PERKINS, PAMELA (TX.ATTORNEY GENERAL OFF) HB 3174 On: MAGNESS, BILL (PUC)


Home
Our Food
Blog
Location
Sign In
Menu
FreshCo Brunei
Restaurant
Home
/
Blog
Blog
All Seasons
pricey but delish!
10 November 2016
/
1 Comment
/
Sufi
Learn More
Shinobu Shabu Shabu
Nyaman berabis!
12 November 2016
/
4 Comment
/
Fizah
Learn More


Key Frame Animation
Drag the mouse to rotate the camera
Use the scroll wheel to zoom.
Use these controls to change properties
Duration
10s
Animate Crate
Animate Waves
Animate Light
Animate Water
Play
Loop Animation


A file set is a list of files and directories that Bacula can back up as part
of a job. Each set must have a unique name, a list of files to include and an
optional list of files to exclude. This latter feature can be useful for
skipping non-critical files or directories under one of the directories to
exclude.


Matrix Multiplication or Matrix Product is an operation that produces a matrix from two matrices.
If $A\in \mathbb{R}^{m\times p}$ represented by
and $B\in \mathbb{R}^{p\times n}$ represented by
then the Matrix Product can be defined as $C = AB$ where
Computing the matrix product of two matrices has a computational complexity of $O(n^3)$ for $n\times n$ matrices and hence slow. Different algorithms have been devised for computing the matrix product for large matrices. In this project, a survey of methods that take computer architecture into account will be explored.
The time to run a program can be modeled by:
The improvement rate in processor speed (Moore’s Law, ~60%/yr) exceeds that of DRAM memory (~7%/yr). There is a growing latency between the state of the art proessor speed and memory access speed (~53%/yr). Therefore, the bottleneck for computing is memory access and not the number of arithmetic operations.
To model this, we can define a simple memory model with two levels - fast and slow memories. All the data is initially in slow memory. Data is processed faster if in the fast memory. Therefore, Data needs to be transferred from slow to fast memory before each subroutine. The performance metric is the number of floating point operations per slow element access, called FLOPS.
BLAS are low-level kernels that provide routines for performing Linear Algebra operations such as matrix addition, multiplication and dot products. These routines tend to be optimized for particular machines. These are the standard building blocks in modern linear algebra software.
BLAS separates its functionality into three levels: BLAS-1, BLAS-2 and BLAS-3. BLAS-1 performs scalar, vector and vector-vector operations. BLAS-2 performs matrix-vector operations. BLAS-3 performs matrix-matrix operations. A summary table of performance metrics is shown below:
Five different algorithms for matrix multiplication will be tested and compared with FLOP rate for square matrices. The size of the matrix (n) will be varied and plotted versus MFLOPS/s. In this case, 10 values from 10 to 500 were selected using the numpy linspace function.
The MFLOPS/s will be computed using the equation: $ MFLOPS/s = \frac{2n^3}{10^6 \times runtime}$
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import time
The triple loop is the element wise (naïve) multiplication, which is mentioned in the introduction as
def matmul_triple(A, B):
[m, p, n] = mat2_shape(A, B)
C = np.zeros((m, n))
for i in range(m):
for j in range(n):
for k in range(p):
C[i, j] = C[i, j] + A[i, k]*B[k, j]
return C
The dot product of two vectors $a = [a_1, a_2, \dots, a_n]$ and $b = [b_1, b_2, \dots, b_n]$ is defined as
The implementation of using the dot product for matrix multiplication is
def matmul_dot(A, B):
[m, p, n] = mat2_shape(A, B)
C = np.zeros((m, n))
for i in range(m):
for j in range(n):
C[i, j] = C[i, j] + np.dot(A[i, :], B[:, j])
return C
Saxpy (Single-Precision A X Plus Y) is defined as the form $y:=ax + y$, where $x,y$ are vectors and $a$ is a scalar. The implementation of saxpy for matrix multiplication is
def matmul_saxpy(A, B):
[m, p, n] = mat2_shape(A, B)
C = np.zeros((m, n))
for i in range(m):
for j in range(p):
C[:, i] = C[:, i] + A[:, j]*B[j, i]
return C
Matrix-Vector multiplication is defined as $y:=y+Ax$ where A is matrix and x is a vector. The implementation for Matrix-Vector matrix multiplication is
def matmul_matvec(A, B):
[m, n, p] = mat2_shape(A, B)
C = np.zeros((m, n))
for k in range(n):
C[:, k] = C[:, k] + np.matmul(A[:, :], B[:, k])
return C
The outer product is defined as $a\otimes b = ab^T$ If a and b have dimensions of m and n, then their outer product is an m by n matrix. The implementation of the outer product matrix multiplication is defined as
def matmul_outer(A, B):
[m, n, p] = mat2_shape(A, B)
C = np.zeros((m, n))
for i in range(p):
C[:, :] = C[:, :] + np.outer(A[:, i], B[i, :])
return C
def mat2_shape(A, B):
[m, p] = A.shape
[m, n] = B.shape
return m, p, n
funcs = ['matmul_triple', 'matmul_dot', 'matmul_saxpy',
'matmul_matvec', 'matmul_outer']
func_names = ['triple loop', 'dot product (BLAS-1)', 'saxpy (BLAS-1)',
'matrix-vector (BLAS-2)', 'outer product (BLAS-2)']
n = np.linspace(10, 500, 10)
t = np.rint(np.zeros((len(n), len(funcs))))
for i in range(len(n)):
size = int(n[i])
A = np.random.rand(size, size)
B = np.random.rand(size, size)
for j in range(len(funcs)):
start_time = time.time()
C = eval(funcs[j] + '(A, B)')
t[i, j] = time.time() - start_time
flops = np.zeros((t.shape[0], t.shape[1]))
for i in range(t.shape[0]):
flops[i, :] = 2*(n[i]**3)/t[i, :]/(1e6)
dispt = np.zeros((t.shape[0], t.shape[1] + 1))
dispt[:, 0] = np.round(n).astype('int')
dispt[:, 1:] = t
df_t = pd.DataFrame(dispt, columns = np.append(['n'], func_names))
df_t['n'] = df_t['n'].astype(int)
df_t
| n | triple loop | dot product (BLAS-1) | saxpy (BLAS-1) | matrix-vector (BLAS-2) | outer product (BLAS-2) | |
|---|---|---|---|---|---|---|
| 0 | 10 | 0.001958 | 0.000494 | 0.001043 | 0.000294 | 0.000350 |
| 1 | 64 | 0.324073 | 0.007775 | 0.028444 | 0.000872 | 0.002727 |
| 2 | 119 | 2.483323 | 0.056787 | 0.104679 | 0.000967 | 0.008148 |
| 3 | 173 | 7.373535 | 0.110846 | 0.270866 | 0.002401 | 0.019772 |
| 4 | 228 | 16.292575 | 0.119387 | 0.522254 | 0.004367 | 0.040190 |
| 5 | 282 | 28.353514 | 0.195107 | 0.848704 | 0.005697 | 0.071406 |
| 6 | 337 | 49.096077 | 0.392282 | 1.279814 | 0.007889 | 0.109456 |
| 7 | 391 | 76.775584 | 0.513610 | 1.959762 | 0.012160 | 0.248771 |
| 8 | 446 | 113.867998 | 0.725625 | 2.673684 | 0.018931 | 0.330257 |
| 9 | 500 | 161.462556 | 0.949153 | 3.341192 | 0.023851 | 0.473899 |
plt.figure(figsize = (15, 10))
plt.xlabel('n')
plt.ylabel('Run Time')
plt.title('Run Time Comparison between different BLAS-type Operation Kernels')
for i in range(t.shape[1]):
plt.plot(n, t[:, i], label = func_names[i])
plt.legend()
plt.yscale('log', basey = 10)
plt.show()
dispf = np.zeros((flops.shape[0], flops.shape[1] + 1))
dispf[:, 0] = np.round(n).astype('int')
dispf[:, 1:] = flops
df_f = pd.DataFrame(dispf, columns = np.append(['n'], func_names))
df_f['n'] = df_f['n'].astype(int)
df_f
| n | triple loop | dot product (BLAS-1) | saxpy (BLAS-1) | matrix-vector (BLAS-2) | outer product (BLAS-2) | |
|---|---|---|---|---|---|---|
| 0 | 10 | 1.021506 | 4.048556 | 1.917396 | 6.803413 | 5.714311 |
| 1 | 64 | 1.651746 | 68.844448 | 18.818775 | 613.933586 | 196.289135 |
| 2 | 119 | 1.353383 | 59.184310 | 32.106561 | 3476.344810 | 412.482171 |
| 3 | 173 | 1.412539 | 93.962826 | 38.452263 | 4337.740537 | 526.774207 |
| 4 | 228 | 1.450689 | 197.973229 | 45.256638 | 5412.442808 | 588.093318 |
| 5 | 282 | 1.585611 | 230.425641 | 52.972115 | 7891.444145 | 629.604966 |
| 6 | 337 | 1.554474 | 194.550326 | 59.632566 | 9673.719498 | 697.253226 |
| 7 | 391 | 1.558502 | 232.968327 | 61.055832 | 9839.989620 | 480.983716 |
| 8 | 446 | 1.553581 | 243.794175 | 66.164569 | 9344.554011 | 535.652727 |
| 9 | 500 | 1.548347 | 263.392745 | 74.823590 | 10481.672148 | 527.538693 |
plt.figure(figsize = (15, 10))
plt.xlabel('n')
plt.ylabel('log10(MFLOPS/s)')
plt.title('Run Time Comparison between different BLAS-type Operation Kernels')
for i in range(t.shape[1]):
plt.plot(n, flops[:, i], label = func_names[i])
plt.legend()
plt.yscale('log', basey = 10)
plt.show()
From the collected data, the MFLOPS/s ranking was matrix-vector, outer product, dot product, saxpy and triple loop. The rankings were expected because BLAS-2 were theorized to be faster than BLAS-1 and both were theorzied to be faster than the triple loop due to the number of FLOPS/MemoryReferences. The curves plotted were consistent with the expected shape - as the size of the matrix gets larger and larger, the MFLOPS/s eventually plateaus. This wil be more evident as the size of the matrix gets larger and larger. The maximum MFLOPS/s for each of the methods is shown below
df_f_max = df_f.max()[1::].to_frame()
df_f_max.columns = ['Maximum MFLOPS/s']
df_f_max
| Maximum MFLOPS/s | |
|---|---|
| triple loop | 1.651746 |
| dot product (BLAS-1) | 263.392745 |
| saxpy (BLAS-1) | 74.823590 |
| matrix-vector (BLAS-2) | 10481.672148 |
| outer product (BLAS-2) | 697.253226 |
Although it is evident that BLAS-2 is faster than BLAS-1, there is still some question to the ratios of MFLOPS/s between different methods. From the table in the introduction, BLAS-2 should be approximately $\frac{2}{2/3} = 3 $ times as fast as BLAS-1. These values makes sense if the comparison was done between dot product (BLAS-1) and outer product (BLAS-2), but does not make sense for any other combination. One reason that may have caused this is because the matrix was not large enough and did not plateau. Due to CPU speed and time limitations, more data was not be taken. Another experiment that collects more data points for larger matrix multiplications should be run. A percent change difference is computed below.
df_f_pct_change = df_f.groupby('n').mean().pct_change()
df_f_pct_change
| triple loop | dot product (BLAS-1) | saxpy (BLAS-1) | matrix-vector (BLAS-2) | outer product (BLAS-2) | |
|---|---|---|---|---|---|
| n | |||||
| 10 | NaN | NaN | NaN | NaN | NaN |
| 64 | 0.616971 | 16.004692 | 8.814756 | 89.239061 | 33.350449 |
| 119 | -0.180635 | -0.140318 | 0.706092 | 4.662412 | 1.101401 |
| 173 | 0.043710 | 0.587631 | 0.197645 | 0.247788 | 0.277084 |
| 228 | 0.027008 | 1.106931 | 0.176956 | 0.247756 | 0.116405 |
| 282 | 0.093006 | 0.163923 | 0.170483 | 0.458019 | 0.070587 |
| 337 | -0.019637 | -0.155692 | 0.125735 | 0.225849 | 0.107446 |
| 391 | 0.002591 | 0.197471 | 0.023867 | 0.017188 | -0.310174 |
| 446 | -0.003157 | 0.046469 | 0.083673 | -0.050349 | 0.113661 |
| 500 | -0.003369 | 0.080390 | 0.130871 | 0.121688 | -0.015148 |
df_f_pct_change_ri = df_f_pct_change.reset_index()
plt.figure(figsize = (15, 10))
for i in df_f_pct_change_ri.columns:
if i != 'n':
plt.plot(df_f_pct_change_ri['n'], df_f_pct_change_ri[i])
plt.title('Percent Change in MFLOPS/s for different BLAS-type Operation Kernels')
plt.ylabel('pct change (%)')
plt.xlabel('n')
plt.yscale('log', basey = 10)
plt.legend()
plt.show()
From this, there is room for improvement, as the dot product and the matrix-vector kernels have a percentage change of greater than 10% at n = 500.
Another observation is that MATLAB behaves differently when the same kernels are implemented. It is unknown if it is an implementation problem or MATLAB’s matrix multiplication routines. The MATLAB implementation is shown here https://pastebin.com/TL93T9mU and results are shown below
from IPython.display import Image
Image(filename='blas_comparison_matlab.png')
From the Run Time Comparison, we do not see the BLAS Run Time hierarchy. This may possibly be due to error in implementation. But the reason for this is still unknown.


Markets Live: Sensex gains over 100 points, Nifty hovers around 11,900; Bharti Infratel up 8%
IRCTC will soon get Navratna status: Minister
2.45 pm
IRCTC will soon get Navratna status, Suresh C Angadi, Minister of State for Railways, announced here today. He said this while announcing the relaunch of Golden Chariot luxury train.
The train, which was loss making, was idling and will now restart with an eye to attract international tourists.
The Railways has lowered the haulage charges, a cost involved to run the train. The luxury tourist train, in its new itinerary, will cover newer areas in Tamil Nadu and Goa as well, apart from places in Karnataka.
The train should be profitable as well, said Angadi.
2.35 pm
PSU bank shares advance; Oriental Bank of Commerce up 17%
The PSU bank shares were trading in the positive zone in Tuesday's trading session. The Nifty PSU Bank index was trading 4.43 per cent higher at 2,602.80 at 2.30 pm.
Shares of Oriental Bank of Commerce (up 17.37 per cent), Syndicate Bank (up 14.58 per cent), Central Bank of India (up 12.65 per cent), The Jammu & Kashmir Bank (7.42 per cent) and Union Bank of India (up 6.12 per cent) were the top performers in the index.
Indian Bank (up 5 per cent), Bank of India (up 4.56 per cent), Canara Bank (up 3.94 per cent) and Allahabad Bank (up 3.57 per cent) too were trading higher.
The benchmark Nifty50 index was up 40.25 points at 11,924.75 while the BSE Sensex was up 138.18 points at 40,422.37.
2.25 pm
TCS launches Microsoft Business Unit to help enterprises leverage AI, ML
IT services major Tata Consultancy Services (TCS) on Tuesday said it is setting up a new Microsoft Business Unit (MBU) that will help enterprises to better leverage technologies like artificial intelligence, automation and cloud.
“The new unit will leverage TCS’ deep domain knowledge across industries and global talent pool of nearly 50,000 engineers trained on Microsoft technologies, to help customers leverage the power of AI, automation and cloud to enhance customer experience, re-imagine employee empowerment, optimize operations and spur innovation,” a statement said.
2.10 pm
Nifty Sectoral Indices @ 2 pm
2 pm
Reliance Capital Pension’s registration under NPS cancelled: PFRDA
The registration of Reliance Capital Pension Fund under the government’s National Pension Scheme (NPS) has been cancelled following a request by the company, sector regulator PFRDA said in a notice. Read more here
1.50 pm
Vehicle registration up 4 per cent in October on back of festival sales
Vehicle registrations finally showed positive momentum in October, with the festivals of Navratri/ Dussehra and Diwali falling in the same month, the Federation of Automobile Dealers’ Associations (FADA) said on Tuesday.
Vehicle registrations rose by 4 per cent on a year-on-year (YoY) basis during the month, it said. The two-wheeler segment registered 5 per cent growth, while the three-wheeler segment was up 4 per cent and retail sales in the passenger vehicles (PV) segment grew 11 per cent. However, registrations in the commercial vehicle (CV) segment were down 23 per cent YoY. Read more here
12.55 pm
M&M, Ford kick off ‘matched pairs’ drive
Mahindra & Mahindra and Ford India have kicked off the process of forming ‘matched pairs’ to leverage common competencies.
To put it simply, where someone from Ford is part of a function which is common to his counterpart at M&M, the idea is to see how these skills can be optimised better while working together. “The whole trick will be to get the best of both,” Pawan Goenka, Managing Director, M&M, told BusinessLine. Read more here
12.50 pm
Karvy Stock Broking allays investors fears on defaulting
Investors have accused Karvy Stock Broking of not honouring fund transfer on their transactions. BusinessLine spoke to a number of investors and, according to them, the Hyderabad-based financial services firm, is not paying the funds to them for the shares they sold on time.
The broking firm on Monday said that it is honouring all commitments. Read more here
12.45 pm
Markets Update: The BSE Sensex has risen 182.88 points to 40,467.07 in the afternoon trade (12.40 pm) on Tuesday, while the NSE Nifty is up 53.10 points to 11,937.60, led by an uptick in pharma and IT stocks.
In the Nifty pack, Bharti Infratel was the biggest gainer (up 5.60 per cent), followed by Bharti Airtel, Cipla, RIL and Axis Bank, rising up to 5.30 per cent.
12.36 pm
Nifty call: Buy in dips with a tight stop-loss
Nifty 50 November Futures (11,965)
The November futures contract, after opening flat has been trending on the upside since morning. The contract seems to have bounced from the key level of 11,900. The Asian indices are giving mixed signals as Nikkei is down by half a percentage point whereas Hang Seng is up by 1.25 per cent. Click here to read more
12.30 pm
Tata Steel plans to cut up to 3,000 European jobs
Tata Steel plans to cut up to 3,000 jobs across its European operations, the company said on Monday, as the sector wrestles with excess supply, weak demand and high costs.
Earlier, a source close to the discussions told Reuters around 3,000 people would be affected after the group's European Chief Executive Henrik Adam said Tata was planning to announce job cuts across the European business without giving figures. Read more here
12.25 pm
Panacea Biotec appoints Susheel Umesh as Chief Executive of domestic formulations
As part of its organisational restructuring programme, drug firm Panacea Biotec on Tuesday said it has appointed Susheel Umesh as the Chief Executive of domestic formulations.
The company also announced the elevation of Rajeeva Kumar Mangalum as Chief Operating Officer for the pharmaceutical operations and Dinesh Singla as senior vice president- pharma research and pharma regulatory affairs, according to a regulatory filing.
Shares of the company were trading 0.83 per cent higher at Rs 127 apiece on BSE.
12.20 pm
Dilip Buildcon bags Rs 2,123 cr order from Coal India arm
Highway developer Dilip Buildcon on Tuesday said it has bagged an order worth Rs 2,122.74 crore from Northern Coalfields Ltd, a subsidiary of Coal India, for removal of overburden at a mining project in Madhya Pradesh.
In mining, overburden is the overlying material (such as rock, soil) that generally has no commercial value.
“Dilip Buildcon has been awarded OB (over burden) removal contract mining work for Nigahi project at Singrauli district in the State of Madhya Pradesh valued at Rs 2,122.74 crore by the Northern Coalfields Ltd (NCL), a subsidiary of Coal India Ltd (CIL),” the company said in a filing to BSE.
The company was declared L1 bidder (lowest bidder) in the reverse auction conducted by NCL, the filing added. The contract period of the project is 1,552 days. Coal India accounts for over 80 per cent of domestic coal output.
Shares of Dilip Buildcon were trading at Rs 419.60, higher by 3.89 per cent on the BSE.
12.15 pm
NBFCs with over ₹500 cr assets size now under IBC
On the heels of putting in place a generic framework for insolvency proceedings of Systemically Important Financial Service Providers (FSP), the Centre has now specifically brought Non Banking Finance Companies (NBFCs) with over ₹500 crore assets size under the Insolvency and Bankruptcy Code (IBC) fold. Read more here
12 noon
Bandhan Bank shares fall 4% as Assamese protesters seek a ban on microfinance companies
Shares of Bandhan Bank tumbled over 4 per cent in early trade on Tuesday on news of some women protesters in Assam seek a ban on microfinance companies. The stock is hovering around ₹535.
According to media reports from the northeast, several organisations under the banner of Jagrata Mahila Suraksha Samaj staged a protest against microfinance companies which they alleged had ruined the rural economy.
The Samaj demanded that these microfinance companies should be banned from operating in Assam.
According to analysts, Bandhan Bank is the most significant player with an asset base in Assam. Analysts say over 15 per cent of its total AUM is catering to Assam.
Alleging that these companies were charging exorbitant rates of interest on loans and that their accounts checked for malpractices, they said the extra interest which had been collected should be returned.
11.45 am
Thomas Cook India introduces ‘Easy Payment Plan’ for holidays
Thomas Cook (India) Ltd., a travel related financial services company, has introduced ‘Easy Payment Plan’, a unique offering enabling consumers to book their dream holiday with just a token payment of 10 per cent. The balance 90 per cent can be made prior to receiving the final handover of their travel related documents, before departure. The Easy Payment Plan is valid for all bookings made up to November 30, 2019, says a press release.
11.35 am
Zee Entertainment’s preference shares downgraded to ‘AA+’ by Brickwork ratings
Brickwork Ratings (BWR) India Pvt Ltd has downgraded the credit rating of Zee Entertainment Enterprises Ltd’s (ZEEL) 6 per cent Cumulative Redeemable Non-Convertible Preference Shares aggregating ₹1210.16 crore from ‘AAA’ to ‘AA+”. Read more here
11.26 am
Brokers call: Cera Sanitaryware (Buy)
Cera Sanitaryware (CRS) reported weak quarter with flat revenue growth y-o-y (negative 4 per cent vs our est.) led by 9.3 per cent decline in sanitary-ware (SW) segment while faucet-ware (FW)/tiles segments grew by 5.4 per cent/4.6 per cent respectively. Growth was impacted from severe floods in southern states of India which contribute about 40-45 per cent of sales.
11.06 am
Bharti Airtel shares hit a 52-week high of ₹435; Vodafone Idea up 25%
Bharti Airtel shares hit a 52-week high of ₹435, while that of Vodafone Idea rose up 25 per cent in early trade on Tuesday after the incumbent telecom firms announced plans to hike headline tariffs.
At 11.05 am, Bharti Airtel shared were up 5.91 per cent at ₹433.35 and that of the Vodafone India was trading at 25.84 per cent at ₹5.60 on the BSE. Vodafone India shares had hit a 52-week low of ₹2.61 on November 15, according to stock exchange data.
On Tuesday, Reliance Communications hit a 52-week low of ₹0.55, after recording a 3.51 per cent fall.
10.55 am
Tata Steel outlines proposals to transform European business
Tata Steel on Monday outlined proposals for a transformation programme in Europe. The plan is needed to ensure the business can thrive despite severe market headwinds which have led to a sharp decline in profitability. At the same time, it aims to secure the foundation for investments required to accelerate innovation and the company’s journey towards carbon-neutral steelmaking.
Tata Steel highlighted plans to urgently improve its financial performance to make sure the European business becomes self-sustaining and cash positive while enabling investment to safeguard its long-term future. The plans include a proposed new way of working to boost productivity and reduce bureaucracy as well as a focus on increasing sales of higher-value steel products and solutions.
10.50 am
Sterling and Wilson Solar: All you need to know about the company’s troubles
terling and Wilson Solar, the first company from the Shapoorji Pallonji stable that got listed recently, has seen its share price fall dramatically from Rs 537 to Rs 289 (hitting two sessions of lower circuit). Sterling and Wilson Solar is a solar EPC (engineering, procurement, and construction) solutions provider and its promoters are Shapoorji Pallonji Group and Khurshed Y Daruvala. Here’s what transpired
10.40 am
A health check of NBFCs points to prolonged trouble
The health of India’s shadow banks remained weak last month as a credit crisis continued to sting.
Among four indicators compiled by Bloomberg News covering areas including liquidity and share performance, three were stuck in the same position as the previous month, with two at levels indicating weakness. Read the full story here
10.15 am
Institutional activities: Foreign institutional investors offloaded shares worth Rs 270.66 crore in the capital market in the previous session, while domestic institutional investors purchased equities worth Rs 309.45 crore, data available with stock exchange showed.
10.10 am
Rupee slips 16 paise, touches 72/USD level in early trade
The Indian rupee opened on a cautious note and fell 16 paise to 72 per US dollar in early trade on Tuesday amid rising demand for the US dollar vis-a-vis other currencies overseas and unabated foreign fund outflows.
At the interbank foreign exchange, the rupee opened at 71.97 then fell to 72 against the US dollar, showing a decline of 16 paise over its previous close. The on Monday had closed at 71.84 against the US dollar.
10.06 am
Daily Rupee call: Buy with stop-loss at 71.3
The rupee opened higher yesterday at 71.65 versus its previous close of 71.79 against the dollar. After an initial uptick, the Indian currency started to decline from the resistance at 71.6 and closed the day lower at 71.84. Click here to read the technicals
9.56 am
Will Siemens declining trend in PAT arrested?
The board of Siemens will meet on Tuesday to consider the audited financial results along with segment-wise report for the financial year ended September 30, 2019 and recommendation of a dividend on equity shares, if any.
Shareholders would keenly watch the management comments and key financial ratios, as Siemens has been posting a decline in profits. Siemens had posted a PAT of ₹893.90 crore in FY18 and revenues of ₹3,198.40 crore.
9.45 am
CCI nod for division sale may boost Welspun Corp
Shares of Welspun Corp will remain in focus, as the Competition Commission of India has approved the company’s plan to sell plates and coils mills division to Laptev Finance for ₹848.50 crore. PCMD has been identified as a non-core asset and the company has entered into an agreement to divest it, Welspun had said. By selling the division, Welspun is expected to move towards an asset-light model to achieve improvement in its profitability and return ratios.
9.38 am
Gold continues to remain under downward pressure
Gold, punters’ eternal favourite, continues to remain under pressure. Last week, price fell to a three-month low briefly breaking below $1,450 a troy ounce as forecast in these columns. In other words, the metal has shed about $100/oz from the early-September highs. Read more here
9.34 am
Oil prices fall more than 1 per cent on uncertainty over US-China trade talks
Oil prices fell more than 1 per cent, erasing much of last week's gains and tumbling alongside US stocks on uncertainty over a trade deal between the United States (US) and China.
Brent crude futures settled at $62.44 a barrel, down 86 cents, or 1.4 per cent. West Texas Intermediate (WTI) crude ended 67 cents, or 1.2 per cent, lower at $57.05 a barrel.
9.30 am
New order bodes well for Allied Digital
Allied Digital Services has bagged Smart City project for Aurangabad in consortium with KEC (RPG Group company). The project is expected to be executed in 12 months and operations and maintenance will run for 60 months. The capital expenditure will be realised in 12 months and the operational expenditure over 60 months, the company said.
Though it did not disclose the deal size, shareholders will closely monitor further disclosures and execution.
9.20 am
Opening bell: It is a positive start for the benchmark indices on November 19 with Nifty opened around 11,900 level.
At 09:15 am, the Sensex is trading up 171.17 points at 40,455.36, while the Nifty is higher by 34.95 points at 11,919.45.
Bharti Airtel, Bharti Infratel, Grasim, IndusInd Bank and Tata Steel are trading higher, while on the other hand Yes Bank, Zee, Hindalco, HCL Technologies and Kotak Mahindra Bank are among the major losers.
Among the sectors, except for Nifty Pharma, all other sectors are trading flat with negative bias.
9.14 am
Day Trading Guide for November 19, 2019
Given below are supports and resistances for Nifty 50 futures and seven key stocks that can help in your intra-day trading:
₹1262 • HDFC Bank
| S1 | S2 | R1 | R2 | COMMENT |
| 1260 | 1247 | 1285 | 1300 | The stock is trading near a considerable support. Hence initiate fresh long position with tight stop-loss. |
₹705 • Infosys
| S1 | S2 | R1 | R2 | COMMENT |
| 695 | 685 | 715 | 725 | Fresh long positions are recommended with a stiff stop-loss only if the stock advances above ₹715 levels |
₹250 • ITC
| S1 | S2 | R1 | R2 | COMMENT |
| 250 | 247 | 256 | 259 | Since near-term outlook is weak for the stock, sell below the support at ₹250 with tight stop-loss. |
₹134 • ONGC
| S1 | S2 | R1 | R2 | COMMENT |
| 133 | 130 | 139 | 142 | Short-term view for the stock is bearish and hence initiate short positions on rallies with stop-loss at ₹139 |
₹1459 • Reliance Ind.
| S1 | S2 | R1 | R2 | COMMENT |
| 1458 | 1450 | 1475 | 1490 | Reliance is trading near a support. Wait and initiate buy orders in the stock above ₹1465 with stop-loss at ₹1455 |
₹325 • SBI
| S1 | S2 | R1 | R2 | COMMENT |
| 321 | 313 | 330 | 335 | The near-term outlook is positive for the stock. But initiate buy only above ₹330 and place stop-loss at ₹325 |
₹2152 • TCS
| S1 | S2 | R1 | R2 | COMMENT |
| 2150 | 2130 | 2170 | 2220 | Short-term trend might have turned bearish and so inititate sell order below ₹2150 with stop-loss at ₹2170 |
11920 • Nifty 50 Futures
| S1 | S2 | R1 | R2 | COMMENT |
| 11900 | 11850 | 11950 | 12000 | Initiate fresh long positions with a tight stop-loss only if the contract rallies above 11,950 levels |
S1, S2 : Support 1 & 2; R1, R2: Resistance 1 & 2.
9.10 am
Today's pick - Deccan Cements Limited (₹322): Sell
The stock of Deccan Cements attempted to reverse the long-term bear trend during the first half of the current year. But the stock topped out at ₹480 levels in June, from where it began the next leg of downtrend. After marking the then 52-week low of ₹331 in August, the stock recouped some of its losses and appreciated to ₹409 in September. But then, the trend again reversed abruptly, and the stock tumbled, forming consecutive lower peaks. Click here to read the technicals
9.05 am
Asian shares trade flat as China-US trade talks doubts creep back in
Asian shares started Tuesday softer as another day awaiting clearer news on the progress of U.S-China trade negotiations weighed on jaded investors' sentiment.
MSCI's broadest index of Asia-Pacific shares outside Japan fell 0.1%.
Japan's Nikkei was 0.2% lower in early trade. Australia's S&P/ASX 200 index was flat and trading volumes were light. E-Mini futures for the S&P 500 fell 0.05%, although that followed another record-high close on Wall St on Monday.


Creates the individual draggable items and options in drag and drop zones.
zoneItems( zone, type, items, ids = rep(NA, length(items)), selected = NULL, invisible = NULL, locked = NULL, freeze = NULL, togglevis = FALSE, togglelock = FALSE )
| zone | Container zone type: either |
|---|---|
| type | Are these |
| items | List of item labels, with names corresponding to values |
| ids | If multivalued, these will be unique ids |
| selected | Selected items (array length of items - either NA or ds-selected) |
| invisible | Invisible items (array length of items - either NA or ds-invisible) |
| locked | Locked items (array length of items - either NA or ds-locked) |
| freeze | No items allowed before these. Analogous to freezing the first few columns of a spreadsheet (array length of items - either NA or ds-freeze). Makes since only for first initial items, and when used in conjunction with locked. Frozen items also cannot be toggled. |
| togglevis | Add an icon to allow toggling items between visible/invisible. |
| togglelock | Add an icon to allow toggling items between locked/unlocked. |
div element